public class NodeElement extends java.lang.Object implements NamedElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
NodeElement(NodeInfo nodeInfo,
java.util.List<TimestampElement> timestampElements) |
NodeElement(NodeInfo nodeInfo,
TimestampElement timestampElement) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName()
Returns the root element name.
|
java.util.List<TimestampElement> |
getTimestampElements() |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final java.lang.String ELEMENT
public NodeElement(NodeInfo nodeInfo, TimestampElement timestampElement)
public NodeElement(NodeInfo nodeInfo, java.util.List<TimestampElement> timestampElements)
public java.util.List<TimestampElement> getTimestampElements()
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement
public XmlStringBuilder toXML()
Element