类 org.apache.jasper.xmlparser.TreeNode
的使用

使用 TreeNode 的软件包
org.apache.jasper.xmlparser   
 

org.apache.jasper.xmlparserTreeNode 的使用
 

声明为 TreeNodeorg.apache.jasper.xmlparser 中的字段
protected  TreeNode TreeNode.parent
          The parent node of this node.
 

类型参数类型为 TreeNodeorg.apache.jasper.xmlparser 中的字段
protected  ArrayList<TreeNode> TreeNode.children
          The children of this node, instantiated only if required.
 

返回 TreeNodeorg.apache.jasper.xmlparser 中的方法
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.
 

返回变量类型为 TreeNode 的类型的 org.apache.jasper.xmlparser 中的方法
 Iterator<TreeNode> TreeNode.findChildren()
          Return an Iterator of all children of this node.
 Iterator<TreeNode> TreeNode.findChildren(String name)
          Return an Iterator over all children of this node that have the specified name.
 

参数类型为 TreeNodeorg.apache.jasper.xmlparser 中的方法
 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(StringBuilder sb, int indent, TreeNode node)
          Append to the specified StringBuilder a character representation of this node, with the specified amount of indentation.
 

参数类型为 TreeNodeorg.apache.jasper.xmlparser 中的构造方法
TreeNode(String name, TreeNode parent)
          Construct a new node with the specified parent.
 



Copyright © 2013. All Rights Reserved.