| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <title>TreeNode</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="TreeNode"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/jasper/xmlparser/SymbolTable.Entry.html" title="class in org.apache.jasper.xmlparser"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/jasper/xmlparser/UCSReader.html" title="class in org.apache.jasper.xmlparser"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/jasper/xmlparser/TreeNode.html" target="_top">Frames</a></li> |
| <li><a href="TreeNode.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.jasper.xmlparser</div> |
| <h2 title="Class TreeNode" class="title">Class TreeNode</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.jasper.xmlparser.TreeNode</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">TreeNode</span> |
| extends java.lang.Object</pre> |
| <div class="block">Simplified implementation of a Node from a Document Object Model (DOM) |
| parse of an XML document. This class is used to represent a DOM tree |
| so that the XML parser's implementation of <code>org.w3c.dom</code> need |
| not be visible to the remainder of Jasper. |
| <p> |
| <strong>WARNING</strong> - Construction of a new tree, or modifications |
| to an existing one, are not thread-safe and such accesses must be |
| synchronized.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected java.util.HashMap<java.lang.String,java.lang.String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#attributes">attributes</a></span></code> |
| <div class="block">The attributes of this node, keyed by attribute name, |
| Instantiated only if required.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#body">body</a></span></code> |
| <div class="block">The body text associated with this node (if any).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected java.util.ArrayList<<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#children">children</a></span></code> |
| <div class="block">The children of this node, instantiated only if required.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#name">name</a></span></code> |
| <div class="block">The name of this node.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#parent">parent</a></span></code> |
| <div class="block">The parent node of this node.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#TreeNode-java.lang.String-">TreeNode</a></span>(java.lang.String name)</code> |
| <div class="block">Construct a new node with no parent.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#TreeNode-java.lang.String-org.apache.jasper.xmlparser.TreeNode-">TreeNode</a></span>(java.lang.String name, |
| <a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> parent)</code> |
| <div class="block">Construct a new node with the specified parent.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#addAttribute-java.lang.String-java.lang.String-">addAttribute</a></span>(java.lang.String name, |
| java.lang.String value)</code> |
| <div class="block">Add an attribute to this node, replacing any existing attribute |
| with the same name.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#addChild-org.apache.jasper.xmlparser.TreeNode-">addChild</a></span>(<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> node)</code> |
| <div class="block">Add a new child node to this node.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#findAttribute-java.lang.String-">findAttribute</a></span>(java.lang.String name)</code> |
| <div class="block">Return the value of the specified node attribute if it exists, or |
| <code>null</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>java.util.Iterator<java.lang.String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#findAttributes--">findAttributes</a></span>()</code> |
| <div class="block">Return an Iterator of the attribute names of this node.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#findChild-java.lang.String-">findChild</a></span>(java.lang.String name)</code> |
| <div class="block">Return the first child node of this node with the specified name, |
| if there is one; otherwise, return <code>null</code>.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>java.util.Iterator<<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#findChildren--">findChildren</a></span>()</code> |
| <div class="block">Return an Iterator of all children of this node.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>java.util.Iterator<<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#findChildren-java.lang.String-">findChildren</a></span>(java.lang.String name)</code> |
| <div class="block">Return an Iterator over all children of this node that have the |
| specified name.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#getBody--">getBody</a></span>()</code> |
| <div class="block">Return the body text associated with this node (if any).</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#getName--">getName</a></span>()</code> |
| <div class="block">Return the name of this node.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#removeAttribute-java.lang.String-">removeAttribute</a></span>(java.lang.String name)</code> |
| <div class="block">Remove any existing value for the specified attribute name.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#removeNode-org.apache.jasper.xmlparser.TreeNode-">removeNode</a></span>(<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> node)</code> |
| <div class="block">Remove a child node from this node, if it is one.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#setBody-java.lang.String-">setBody</a></span>(java.lang.String body)</code> |
| <div class="block">Set the body text associated with this node (if any).</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#toString--">toString</a></span>()</code> |
| <div class="block">Return a String representation of this TreeNode.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/jasper/xmlparser/TreeNode.html#toString-java.lang.StringBuilder-int-org.apache.jasper.xmlparser.TreeNode-">toString</a></span>(java.lang.StringBuilder sb, |
| int indent, |
| <a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> node)</code> |
| <div class="block">Append to the specified StringBuilder a character representation of |
| this node, with the specified amount of indentation.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="attributes"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>attributes</h4> |
| <pre>protected java.util.HashMap<java.lang.String,java.lang.String> attributes</pre> |
| <div class="block">The attributes of this node, keyed by attribute name, |
| Instantiated only if required.</div> |
| </li> |
| </ul> |
| <a name="body"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>body</h4> |
| <pre>protected java.lang.String body</pre> |
| <div class="block">The body text associated with this node (if any).</div> |
| </li> |
| </ul> |
| <a name="children"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>children</h4> |
| <pre>protected java.util.ArrayList<<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a>> children</pre> |
| <div class="block">The children of this node, instantiated only if required.</div> |
| </li> |
| </ul> |
| <a name="name"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>name</h4> |
| <pre>protected java.lang.String name</pre> |
| <div class="block">The name of this node.</div> |
| </li> |
| </ul> |
| <a name="parent"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>parent</h4> |
| <pre>protected <a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> parent</pre> |
| <div class="block">The parent node of this node.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="TreeNode-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>TreeNode</h4> |
| <pre>public TreeNode(java.lang.String name)</pre> |
| <div class="block">Construct a new node with no parent.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - The name of this node</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="TreeNode-java.lang.String-org.apache.jasper.xmlparser.TreeNode-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>TreeNode</h4> |
| <pre>public TreeNode(java.lang.String name, |
| <a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> parent)</pre> |
| <div class="block">Construct a new node with the specified parent.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - The name of this node</dd> |
| <dd><code>parent</code> - The node that is the parent of this node</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="addAttribute-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addAttribute</h4> |
| <pre>public void addAttribute(java.lang.String name, |
| java.lang.String value)</pre> |
| <div class="block">Add an attribute to this node, replacing any existing attribute |
| with the same name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - The attribute name to add</dd> |
| <dd><code>value</code> - The new attribute value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addChild-org.apache.jasper.xmlparser.TreeNode-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addChild</h4> |
| <pre>public void addChild(<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> node)</pre> |
| <div class="block">Add a new child node to this node.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>node</code> - The new child node</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="findAttribute-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findAttribute</h4> |
| <pre>public java.lang.String findAttribute(java.lang.String name)</pre> |
| <div class="block">Return the value of the specified node attribute if it exists, or |
| <code>null</code> otherwise.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - Name of the requested attribute</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="findAttributes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findAttributes</h4> |
| <pre>public java.util.Iterator<java.lang.String> findAttributes()</pre> |
| <div class="block">Return an Iterator of the attribute names of this node. If there are |
| no attributes, an empty Iterator is returned.</div> |
| </li> |
| </ul> |
| <a name="findChild-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findChild</h4> |
| <pre>public <a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> findChild(java.lang.String name)</pre> |
| <div class="block">Return the first child node of this node with the specified name, |
| if there is one; otherwise, return <code>null</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - Name of the desired child element</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="findChildren--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findChildren</h4> |
| <pre>public java.util.Iterator<<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a>> findChildren()</pre> |
| <div class="block">Return an Iterator of all children of this node. If there are no |
| children, an empty Iterator is returned.</div> |
| </li> |
| </ul> |
| <a name="findChildren-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findChildren</h4> |
| <pre>public java.util.Iterator<<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a>> findChildren(java.lang.String name)</pre> |
| <div class="block">Return an Iterator over all children of this node that have the |
| specified name. If there are no such children, an empty Iterator |
| is returned.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - Name used to select children</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getBody--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBody</h4> |
| <pre>public java.lang.String getBody()</pre> |
| <div class="block">Return the body text associated with this node (if any).</div> |
| </li> |
| </ul> |
| <a name="getName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getName</h4> |
| <pre>public java.lang.String getName()</pre> |
| <div class="block">Return the name of this node.</div> |
| </li> |
| </ul> |
| <a name="removeAttribute-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAttribute</h4> |
| <pre>public void removeAttribute(java.lang.String name)</pre> |
| <div class="block">Remove any existing value for the specified attribute name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - The attribute name to remove</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeNode-org.apache.jasper.xmlparser.TreeNode-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeNode</h4> |
| <pre>public void removeNode(<a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> node)</pre> |
| <div class="block">Remove a child node from this node, if it is one.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>node</code> - The child node to remove</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setBody-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBody</h4> |
| <pre>public void setBody(java.lang.String body)</pre> |
| <div class="block">Set the body text associated with this node (if any).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>body</code> - The body text (if any)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public java.lang.String toString()</pre> |
| <div class="block">Return a String representation of this TreeNode.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <code>java.lang.Object</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString-java.lang.StringBuilder-int-org.apache.jasper.xmlparser.TreeNode-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>protected void toString(java.lang.StringBuilder sb, |
| int indent, |
| <a href="../../../../org/apache/jasper/xmlparser/TreeNode.html" title="class in org.apache.jasper.xmlparser">TreeNode</a> node)</pre> |
| <div class="block">Append to the specified StringBuilder a character representation of |
| this node, with the specified amount of indentation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sb</code> - The StringBuilder to append to</dd> |
| <dd><code>indent</code> - Number of characters of indentation</dd> |
| <dd><code>node</code> - The TreeNode to be printed</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/jasper/xmlparser/SymbolTable.Entry.html" title="class in org.apache.jasper.xmlparser"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/jasper/xmlparser/UCSReader.html" title="class in org.apache.jasper.xmlparser"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/jasper/xmlparser/TreeNode.html" target="_top">Frames</a></li> |
| <li><a href="TreeNode.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |