Package | Description |
---|---|
com.nomagic.magicreport.engine.xml |
Modifier and Type | Class and Description |
---|---|
class |
ElementNode
The Element represents an element in XML document.
|
class |
TextNode
The Text node represents the textual content (termed character data in XML) of an Element or Attribute.
|
Modifier and Type | Method and Description |
---|---|
Node |
ElementNode.getFirstChild()
The first child of this node.
|
Node |
ElementNode.getLastChild()
The last child of this node.
|
Node |
ElementNode.getParentNode()
Return the parent of this node.
|
Node |
TextNode.getParentNode()
Return the parent of this node.
|
Node |
Node.getParentNode()
Return the parent of this node.
|
Node |
ElementNode.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
|
Node |
TextNode.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
|
Node |
Node.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Node> |
ElementNode.getChildNodes()
Return a child.
|
java.util.Collection<Node> |
TextNode.getChildNodes()
Return a child.
|
java.util.Collection<Node> |
Node.getChildNodes()
Return a child.
|
Modifier and Type | Method and Description |
---|---|
void |
ElementNode.appendChild(Node e)
Adds the node newChild to the end of the list of children of this node.
|
void |
TextNode.appendChild(Node e)
Adds the node newChild to the end of the list of children of this node.
|
void |
Node.appendChild(Node e)
Adds the node newChild to the end of the list of children of this node.
|
void |
ElementNode.insertBefore(Node newChild,
int index)
Inserts the node newChild before the child index.
|
void |
TextNode.insertBefore(Node newChild,
int index)
Inserts the node newChild before the child index.
|
void |
Node.insertBefore(Node newChild,
int index)
Inserts the node newChild before the child index.
|
Node |
ElementNode.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
|
Node |
TextNode.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
|
Node |
Node.removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
|
void |
ElementNode.setParentNode(Node e)
Set a parent of this node.
|
void |
TextNode.setParentNode(Node e)
Set a parent of this node.
|
void |
Node.setParentNode(Node e)
Set a parent of this node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ElementNode.hasTextContent(java.util.Collection<Node> childNodes)
Return true when
childNodes contains at least one text node. |
Copyright © 2010 - No Magic Asia