| java.lang.Object org.w3c.www.http.BasicValue org.w3c.www.http.HttpBag
isToplevel | boolean isToplevel(Code) | | |
addBag | public void addBag(HttpBag subbag)(Code) | | Add a named bag into this bag.
Parameters: bag - The bag to add (in case item is a bag). |
addItem | public void addItem(String name)(Code) | | Add an item into this bag.
Parameters: name - The new item name. |
addItem | public void addItem(HttpBag subbag)(Code) | | Add a sub-bag to this bag.
Parameters: subbag - The sub-bag to add. |
getBag | public HttpBag getBag(String name)(Code) | | Get a named sub-bag from this bag.
Parameters: name - The name of the sub-bag to get. A bag instance, or null if none was found. |
getName | public String getName()(Code) | | Get this bag names
The name of this bag. |
hasBag | public boolean hasBag(String name)(Code) | | Does this bag have a named sub-bag of the given name ?
Parameters: name - The name of the sub-bag to be tested for. true if this sub-bag exists. |
hasItem | public boolean hasItem(String name)(Code) | | Does this bag contains the given item, being a bag or a simple word.
Parameters: name - The name of the item to test. true if the bag contains the given item, false otherwise. |
isToplevelBag | public boolean isToplevelBag()(Code) | | Is that a top level bag or not ?
A boolean, true if the bag was a toplevelbag. |
keys | public Enumeration keys()(Code) | | Get all named items from this bag.
This include both named sub-bags and items by their own.
|
removeItem | public void removeItem(String name)(Code) | | Remove an item from that bag.
Parameters: name - The name of the item to remove. |
updateByteValue | final protected void updateByteValue()(Code) | | |
|
|