| java.lang.Object org.jpox.plugin.ConfigurationElement
ConfigurationElement | public class ConfigurationElement (Code) | | Represents XML elements declared nested in the extension element
version: $Revision: 1.6 $ |
ConfigurationElement | public ConfigurationElement(Extension extension, String name, ConfigurationElement parent)(Code) | | Constructor
Parameters: name - the element's name Parameters: parent - the parent. null if there is no parent |
addConfigurationElement | public void addConfigurationElement(ConfigurationElement confElm)(Code) | | Add a new children ConfigurationElement to this element
Parameters: confElm - the ConfigurationElement |
getAttribute | public String getAttribute(String name)(Code) | | Acessor for the attribute value by a given name
Parameters: name - the attribute name null if the attribute cannot be found |
getAttributeNames | public String[] getAttributeNames()(Code) | | Acessor for all attribute names declared in this element
the attribute names |
getChildren | public ConfigurationElement[] getChildren()(Code) | | Acessor for all children of this ConfigurationElement
the ConfigurationElement declared nested in this element |
getName | public String getName()(Code) | | Acessor for the name of this element
the name of this element |
getParent | public ConfigurationElement getParent()(Code) | | Acessor for the parent of this ConfigurationElement
can return null if there is no parent, or the parent is the Extension |
getText | public String getText()(Code) | | Accessor to the text
the text |
putAttribute | public void putAttribute(String name, String value)(Code) | | Put a new attribute to this element
Parameters: name - the attribute's name Parameters: value - the attribute's value |
setText | public void setText(String text)(Code) | | Setter to the text
Parameters: text - the text |
|
|