public class XppDomElement extends Object implements DomElement
| Constructor and Description | 
|---|
XppDomElement(String name)  | 
XppDomElement(com.thoughtworks.xstream.io.xml.xppdom.XppDom xppDom)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addChild(DomElement child)  | 
DomElement | 
createChild(String name)  | 
String | 
getAttribute(String attributeName)
Gets the value of the attribute with the specified name. 
 | 
String[] | 
getAttributeNames()
Gets the names of all attributes. 
 | 
DomElement | 
getChild(int index)  | 
DomElement | 
getChild(String elementName)
Gets the child element with the specified element name. 
 | 
int | 
getChildCount()  | 
DomElement[] | 
getChildren()
Gets all children. 
 | 
DomElement[] | 
getChildren(String elementName)
Gets all children with the specified element name. 
 | 
String | 
getName()
Gets the name of this element. 
 | 
DomElement | 
getParent()
Gets the element which contains this element. 
 | 
String | 
getValue()
Gets the value of this element. 
 | 
com.thoughtworks.xstream.io.xml.xppdom.XppDom | 
getXppDom()  | 
void | 
setAttribute(String name,
            String value)  | 
void | 
setParent(DomElement parent)  | 
void | 
setValue(String value)  | 
String | 
toXml()  | 
public XppDomElement(String name)
public XppDomElement(com.thoughtworks.xstream.io.xml.xppdom.XppDom xppDom)
public com.thoughtworks.xstream.io.xml.xppdom.XppDom getXppDom()
public String getName()
com.bc.ceres.core.runtime.ConfigurationElementBasegetName in interface com.bc.ceres.core.runtime.ConfigurationElementBase<DomElement>public String getValue()
com.bc.ceres.core.runtime.ConfigurationElementBasegetValue in interface com.bc.ceres.core.runtime.ConfigurationElementBase<DomElement>null.public void setValue(String value)
setValue in interface DomElementpublic DomElement getParent()
com.bc.ceres.core.runtime.ConfigurationElementBasenull.getParent in interface com.bc.ceres.core.runtime.ConfigurationElementBase<DomElement>null if this is a root element.public void setParent(DomElement parent)
setParent in interface DomElementpublic DomElement[] getChildren()
com.bc.ceres.core.runtime.ConfigurationElementBasegetChildren in interface com.bc.ceres.core.runtime.ConfigurationElementBase<DomElement>public DomElement[] getChildren(String elementName)
com.bc.ceres.core.runtime.ConfigurationElementBasegetChildren in interface com.bc.ceres.core.runtime.ConfigurationElementBase<DomElement>elementName - The element name.public DomElement getChild(int index)
getChild in interface DomElementpublic DomElement getChild(String elementName)
com.bc.ceres.core.runtime.ConfigurationElementBasegetChild in interface com.bc.ceres.core.runtime.ConfigurationElementBase<DomElement>elementName - The element name.null if no such could be found.public int getChildCount()
getChildCount in interface DomElementpublic DomElement createChild(String name)
createChild in interface DomElementpublic void addChild(DomElement child)
addChild in interface DomElementpublic String[] getAttributeNames()
com.bc.ceres.core.runtime.ConfigurationElementBasegetAttributeNames in interface com.bc.ceres.core.runtime.ConfigurationElementBase<DomElement>public String getAttribute(String attributeName)
com.bc.ceres.core.runtime.ConfigurationElementBasegetAttribute in interface com.bc.ceres.core.runtime.ConfigurationElementBase<DomElement>attributeName - The attribute name.null.public void setAttribute(String name, String value)
setAttribute in interface DomElementpublic String toXml()
toXml in interface DomElementCopyright © 2014–2022 European Space Agency (ESA). All rights reserved.