Package | Description |
---|---|
org.apache.jasper.compiler | |
org.apache.jasper.xmlparser |
Modifier and Type | Method and Description |
---|---|
private javax.servlet.jsp.tagext.TagAttributeInfo |
TagLibraryInfoImpl.createAttribute(TreeNode elem,
java.lang.String jspVersion) |
private javax.servlet.jsp.tagext.FunctionInfo |
TagLibraryInfoImpl.createFunctionInfo(TreeNode elem) |
private java.lang.String[] |
TagLibraryInfoImpl.createInitParam(TreeNode elem) |
private javax.servlet.jsp.tagext.TagFileInfo |
TagLibraryInfoImpl.createTagFileInfo(TreeNode elem,
java.lang.String uri,
java.net.URL jarFileUrl) |
private javax.servlet.jsp.tagext.TagInfo |
TagLibraryInfoImpl.createTagInfo(TreeNode elem,
java.lang.String jspVersion) |
private javax.servlet.jsp.tagext.TagLibraryValidator |
TagLibraryInfoImpl.createValidator(TreeNode elem) |
private javax.servlet.jsp.tagext.TagVariableInfo |
TagLibraryInfoImpl.createVariable(TreeNode elem) |
Modifier and Type | Field and Description |
---|---|
protected TreeNode |
TreeNode.parent
The parent node of this node.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<TreeNode> |
TreeNode.children
The children of this node, instantiated only if required.
|
Modifier and Type | Method and Description |
---|---|
protected TreeNode |
ParserUtils.convert(TreeNode parent,
org.w3c.dom.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(java.lang.String name)
Return the first child node of this node with the specified name,
if there is one; otherwise, return
null . |
TreeNode |
ParserUtils.parseXMLDocument(java.lang.String uri,
org.xml.sax.InputSource is)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
TreeNode |
ParserUtils.parseXMLDocument(java.lang.String uri,
org.xml.sax.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(java.lang.String uri,
java.io.InputStream is)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
TreeNode |
ParserUtils.parseXMLDocument(java.lang.String uri,
java.io.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 |
---|---|
java.util.Iterator<TreeNode> |
TreeNode.findChildren()
Return an Iterator of all children of this node.
|
java.util.Iterator<TreeNode> |
TreeNode.findChildren(java.lang.String name)
Return an Iterator over all children of this node that have the
specified name.
|
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,
org.w3c.dom.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(java.lang.StringBuilder sb,
int indent,
TreeNode node)
Append to the specified StringBuilder a character representation of
this node, with the specified amount of indentation.
|
Constructor and Description |
---|
TreeNode(java.lang.String name,
TreeNode parent)
Construct a new node with the specified parent.
|