blob: 480b0f29effec4e1941482d8605ae1c41e9b327c [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xsl.core.model</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xsl.core.model</strong></font><br>
Class XSLElement</h2><br><hr><pre>public class <strong>XSLElement</strong>
extends org.eclipse.wst.xsl.core.model.XSLNode</pre>An element in the XSL namespace.<p></p><p></p><hr><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Field Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>package-private java.util.Map</code></td><td width="80%" align="left"><code><a href="#field_attributes">attributes</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>package-private java.util.List</code></td><td width="80%" align="left"><code><a href="#field_childElements">childElements</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr></table><br><table width="100%" border="1"><tr bgcolor="#CCCCFF"><td width="100%"><h2>Constructor Summary</h2></td></tr><tr><td><code><strong><a href="#con_XSLElement">XSLElement</a></strong>(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet)</code></td></tr></table><br><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_addChild">addChild</a>(org.eclipse.wst.xsl.core.model.XSLElement element)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Add a child element of this.</td></tr><tr valign="top"><td width="20%" align="right"><code>public org.eclipse.wst.xsl.core.model.XSLAttribute</code></td><td width="" align="left"><code><a href="#method_getAttribute">getAttribute</a>(java.lang.String name)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the attribute with the given name.</td></tr><tr valign="top"><td width="20%" align="right"><code>public java.util.Map</code></td><td width="" align="left"><code><a href="#method_getAttributes">getAttributes</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the attributes keyed by their names.</td></tr><tr valign="top"><td width="20%" align="right"><code>public java.lang.String</code></td><td width="" align="left"><code><a href="#method_getAttributeValue">getAttributeValue</a>(java.lang.String name)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the value of the attribute with the given name.</td></tr><tr valign="top"><td width="20%" align="right"><code>public java.util.List</code></td><td width="" align="left"><code><a href="#method_getChildElements">getChildElements</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the list of child elements</td></tr><tr valign="top"><td width="20%" align="right"><code>public org.eclipse.wst.xsl.core.model.XSLModelObject.Type</code></td><td width="" align="left"><code><a href="#method_getModelType">getModelType</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_setAttribute">setAttribute</a>(org.eclipse.wst.xsl.core.model.XSLAttribute attribute)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Add an attribute of this</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Field Detail
</h2></td></tr></table><h2><a name="field_attributes">attributes</a></h2><p><code>package-private java.util.Map <strong>attributes</strong></code></p><hr><h2><a name="field_childElements">childElements</a></h2><p><code>package-private java.util.List <strong>childElements</strong></code></p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Constructor Detail
</h2></td></tr></table><h2><a name="con_XSLElement">XSLElement</a></h2><p><code>public <strong>XSLElement</strong>(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet)</code></p><p>Create a new instance of this.</p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_addChild">addChild</a></h2><p><code>public void <strong>addChild</strong>(org.eclipse.wst.xsl.core.model.XSLElement element)</code></p><p>Add a child element of this.</p><h3>Parameters</h3><p><code>element</code> - the chold element</p><hr><h2><a name="method_getAttribute">getAttribute</a></h2><p><code>public org.eclipse.wst.xsl.core.model.XSLAttribute <strong>getAttribute</strong>(java.lang.String name)</code></p><p>Get the attribute with the given name.</p><h3>Parameters</h3><p><code>name</code> - the name of the attribute</p><h3>Returns</h3><p><code>org.eclipse.wst.xsl.core.model.XSLAttribute</code> - the attribute</p><hr><h2><a name="method_getAttributes">getAttributes</a></h2><p><code>public java.util.Map <strong>getAttributes</strong>()</code></p><p>Get the attributes keyed by their names.</p><h3>Returns</h3><p><code>java.util.Map</code> - the map of attribute names and instances</p><hr><h2><a name="method_getAttributeValue">getAttributeValue</a></h2><p><code>public java.lang.String <strong>getAttributeValue</strong>(java.lang.String name)</code></p><p>Get the value of the attribute with the given name.</p><h3>Parameters</h3><p><code>name</code> - the name of the attribute</p><h3>Returns</h3><p><code>java.lang.String</code> - the attribute value</p><hr><h2><a name="method_getChildElements">getChildElements</a></h2><p><code>public java.util.List <strong>getChildElements</strong>()</code></p><p>Get the list of child elements</p><h3>Returns</h3><p><code>java.util.List</code> - the list of children</p><hr><h2><a name="method_getModelType">getModelType</a></h2><p><code>public org.eclipse.wst.xsl.core.model.XSLModelObject.Type <strong>getModelType</strong>()</code></p><p></p><h3>Returns</h3><p><code>org.eclipse.wst.xsl.core.model.XSLModelObject.Type</code></p><hr><h2><a name="method_setAttribute">setAttribute</a></h2><p><code>public void <strong>setAttribute</strong>(org.eclipse.wst.xsl.core.model.XSLAttribute attribute)</code></p><p>Add an attribute of this</p><h3>Parameters</h3><p><code>attribute</code> - the attribute to add</p><hr></body></html>