| java.lang.Object com.rimfaxe.xml.datamodel.Container
Container | public class Container extends Object (Code) | | Contains name/value pairs called literals.
author: Lars Andersen |
Container | public Container()(Code) | | Creates new Container
|
Container | public Container(String xml)(Code) | | Creates new Container from xml string
Parameters: xml - |
Container | public Container(Node node)(Code) | | Creates new Container from XML DOM
Name is taken from XML DOM (id attribute)
Parameters: node - XML DOM |
Container | public Container(String name, Node node)(Code) | | Creates new Container
Parameters: name - name of Container Parameters: node - XML DOM |
addContainer | public void addContainer(String key, Container container)(Code) | | Add a Container to Container
Parameters: key - Parameters: container - |
addIterator | public void addIterator(String key, Iterator iterator)(Code) | | Add an iterator to Container
Parameters: key - Parameters: iterator - |
addLiteral | public void addLiteral(String key, String val)(Code) | | Add a literal String to Container
Parameters: key - Parameters: val - |
addObject | public void addObject(String key, Object val)(Code) | | Add a literal object to Container
Parameters: key - Parameters: val - |
getContainer | public Container getContainer(String key)(Code) | | Get Container from Container
Parameters: key - |
getIterator | public Iterator getIterator(String key)(Code) | | Get Iterator from Container
Parameters: key - |
getLiteral | public String getLiteral(String key)(Code) | | Get String Literal from Container
Parameters: key - |
getName | public String getName()(Code) | | Get name of Container
name of Container |
getObject | public Object getObject(String key)(Code) | | Get Object from Container
Parameters: key - |
setName | public void setName(String val)(Code) | | Set name of Container
Parameters: val - name of Container |
|
|