| Package | Description | 
|---|---|
| org.apache.struts2.jasper.xmlparser | 
| Modifier and Type | Field and Description | 
|---|---|
| protected TreeNode | TreeNode. parentThe 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) | 
| TreeNode | ParserUtils. parseXMLDocument(String uri,
                InputSource is)Parse the specified XML document, and return a  TreeNodethat corresponds to the root node of the document tree. | 
| TreeNode | ParserUtils. parseXMLDocument(String uri,
                InputStream is)Parse the specified XML document, and return a  TreeNodethat 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 © 2000–2025 Apache Software Foundation. All rights reserved.