NodeAttribute's, a parent element and child elements
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(NodeElementVisitor
the visitor whose visit methods will be called visitor)Accepts an |
| public void | |
| public void | |
| public List | |
| public List | |
| public String | Returns: the fully qualified name of this elementSame as calling |
| public String | |
| public String | Returns: inner content of this element as string. This does not include the child elementsThe inner content of this element as string. |
| public String | |
| public NodeElement | |
| public boolean | Returns: true if there is at least one child, otherwise falseReturns true if there is at least one child |
| public boolean | |
| public void | |
| public void |
| accept | back to summary |
|---|---|
| public void accept(NodeElementVisitor visitor) Accepts an
| |
| addAttribute | back to summary |
|---|---|
| public void addAttribute(NodeAttribute attribute) Add an attribute
| |
| addChildElement | back to summary |
|---|---|
| public void addChildElement(NodeElement childElement) Adds a child element.
| |
| getAttributes | back to summary |
|---|---|
| public List List of attributes of this element
| |
| getChildElements | back to summary |
|---|---|
| public List Returns the list of child elements.
| |
| getFQName | back to summary |
|---|---|
| public String getFQName() Same as calling
| |
| getFQName | back to summary |
|---|---|
| public String getFQName(String delimiter) The fully qualified name of the element. The fully qualified name of the name is the name from the root element till this element
separated by the
| |
| getInnerContent | back to summary |
|---|---|
| public String getInnerContent() The inner content of this element as string. Does not include the child elements
| |
| getName | back to summary |
|---|---|
| public String getName() The name of the element
| |
| getParent | back to summary |
|---|---|
| public NodeElement getParent() Returns the parent of this element. May be null.
| |
| hasChildren | back to summary |
|---|---|
| public boolean hasChildren() Returns true if there is at least one child
| |
| isOptional | back to summary |
|---|---|
| public boolean isOptional() Returns true if this element is optional
| |
| setInnerContent | back to summary |
|---|---|
| public void setInnerContent(String content) Sets the inner content of this element | |
| setOptional | back to summary |
|---|---|
| public void setOptional(boolean optional) Sets optional or not | |