|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.plugin.ConfigurationElement
Represents XML elements declared nested in the extension element
Constructor Summary | |
ConfigurationElement(java.lang.String name,
ConfigurationElement parent)
Constructor |
Method Summary | |
void |
addConfigurationElement(ConfigurationElement confElm)
Add a new children ConfigurationElement to this element |
java.lang.String |
getAttribute(java.lang.String name)
Acessor for the attribute value by a given name |
java.lang.String[] |
getAttributeNames()
Acessor for all attribute names declared in this element |
ConfigurationElement[] |
getChildren()
Acessor for all children of this ConfigurationElement |
java.lang.String |
getName()
Acessor for the name of this element |
ConfigurationElement |
getParent()
Acessor for the parent of this ConfigurationElement |
void |
putAttribute(java.lang.String name,
java.lang.String value)
Put a new attribute to this element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigurationElement(java.lang.String name, ConfigurationElement parent)
name
- the element's nameparent
- the parent. null if there is no parentMethod Detail |
public java.lang.String getName()
public ConfigurationElement getParent()
public ConfigurationElement[] getChildren()
public java.lang.String getAttribute(java.lang.String name)
name
- the attribute name
public void putAttribute(java.lang.String name, java.lang.String value)
name
- the attribute's namevalue
- the attribute's valuepublic void addConfigurationElement(ConfigurationElement confElm)
confElm
- the ConfigurationElementpublic java.lang.String[] getAttributeNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |