Package | Description |
---|---|
org.tinygroup.jspengine.xmlparser |
Modifier and Type | Field and Description |
---|---|
protected TreeNode |
TreeNode.parent
The parent node of this node.
|
Modifier and Type | Method and Description |
---|---|
protected TreeNode |
ParserUtils.convert(TreeNode parent,
Node node)
Create and return a TreeNode that corresponds to the specified Node,
including processing all of the attributes and children nodes.
|
TreeNode |
TreeNode.findChild(String name)
Return the first child node of this node with the specified name,
if there is one; otherwise, return
null . |
TreeNode |
ParserUtils.parseXMLDocument(String uri,
InputSource is)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
TreeNode |
ParserUtils.parseXMLDocument(String uri,
InputSource is,
boolean validate)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
TreeNode |
ParserUtils.parseXMLDocument(String uri,
InputStream is)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
TreeNode |
ParserUtils.parseXMLDocument(String uri,
InputStream is,
boolean validate)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
Modifier and Type | Method and Description |
---|---|
void |
TreeNode.addChild(TreeNode node)
Add a new child node to this node.
|
protected TreeNode |
ParserUtils.convert(TreeNode parent,
Node node)
Create and return a TreeNode that corresponds to the specified Node,
including processing all of the attributes and children nodes.
|
void |
TreeNode.removeNode(TreeNode node)
Remove a child node from this node, if it is one.
|
protected void |
TreeNode.toString(StringBuffer sb,
int indent,
TreeNode node)
Append to the specified StringBuffer a character representation of
this node, with the specified amount of indentation.
|
Constructor and Description |
---|
TreeNode(String name,
TreeNode parent)
Construct a new node with the specified parent.
|
Copyright © 2006–2018 TinyGroup. All rights reserved.