blob: 25859ec3798afba98306b12afec112c672dd0aed [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 Template</h2><br><hr><pre>public class <strong>Template</strong>
extends org.eclipse.wst.xsl.core.model.XSLElement</pre>The <code>xsl:template</code> model element.<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.List</code></td><td width="80%" align="left"><code><a href="#field_parameters">parameters</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_variables">variables</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_Template">Template</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_addParameter">addParameter</a>(org.eclipse.wst.xsl.core.model.Parameter parameter)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Add a parameter to this.</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_addVariable">addVariable</a>(org.eclipse.wst.xsl.core.model.Variable var)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Add a variable to this.</td></tr><tr valign="top"><td width="20%" align="right"><code>public boolean</code></td><td width="" align="left"><code><a href="#method_equals">equals</a>(java.lang.Object obj)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</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_getMatch">getMatch</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the value of the <code>match</code> attribute if one exists.</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_getMode">getMode</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the value of the <code>mode</code> attribute if one exists.</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 java.lang.String</code></td><td width="" align="left"><code><a href="#method_getName">getName</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the value of the <code>name</code> attribute if one exists.</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_getParameters">getParameters</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the list of parameters of this.</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_getPriority">getPriority</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get the value of the <code>priority</code> attribute if one exists.</td></tr><tr valign="top"><td width="20%" align="right"><code>public int</code></td><td width="" align="left"><code><a href="#method_hashCode">hashCode</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public boolean</code></td><td width="" align="left"><code><a href="#method_matchesByMatchOrName">matchesByMatchOrName</a>(org.eclipse.wst.xsl.core.model.Template includedTemplate)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</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_toString">toString</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</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_parameters">parameters</a></h2><p><code>package-private java.util.List <strong>parameters</strong></code></p><hr><h2><a name="field_variables">variables</a></h2><p><code>package-private java.util.List <strong>variables</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_Template">Template</a></h2><p><code>public <strong>Template</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_addParameter">addParameter</a></h2><p><code>public void <strong>addParameter</strong>(org.eclipse.wst.xsl.core.model.Parameter parameter)</code></p><p>Add a parameter to this.</p><h3>Parameters</h3><p><code>parameter</code> - the parameter to add</p><hr><h2><a name="method_addVariable">addVariable</a></h2><p><code>public void <strong>addVariable</strong>(org.eclipse.wst.xsl.core.model.Variable var)</code></p><p>Add a variable to this.</p><h3>Parameters</h3><p><code>var</code> - the variable to add</p><hr><h2><a name="method_equals">equals</a></h2><p><code>public boolean <strong>equals</strong>(java.lang.Object obj)</code></p><p></p><h3>Parameters</h3><p><code>obj</code></p><h3>Returns</h3><p><code>boolean</code></p><hr><h2><a name="method_getMatch">getMatch</a></h2><p><code>public java.lang.String <strong>getMatch</strong>()</code></p><p>Get the value of the <code>match</code> attribute if one exists.</p><h3>Returns</h3><p><code>java.lang.String</code> - the match value, or null</p><hr><h2><a name="method_getMode">getMode</a></h2><p><code>public java.lang.String <strong>getMode</strong>()</code></p><p>Get the value of the <code>mode</code> attribute if one exists.</p><h3>Returns</h3><p><code>java.lang.String</code> - the mode value, or null</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_getName">getName</a></h2><p><code>public java.lang.String <strong>getName</strong>()</code></p><p>Get the value of the <code>name</code> attribute if one exists.</p><h3>Returns</h3><p><code>java.lang.String</code> - the template name, or null</p><hr><h2><a name="method_getParameters">getParameters</a></h2><p><code>public java.util.List <strong>getParameters</strong>()</code></p><p>Get the list of parameters of this.</p><h3>Returns</h3><p><code>java.util.List</code> - the list of parameters</p><hr><h2><a name="method_getPriority">getPriority</a></h2><p><code>public java.lang.String <strong>getPriority</strong>()</code></p><p>Get the value of the <code>priority</code> attribute if one exists.</p><h3>Returns</h3><p><code>java.lang.String</code> - the priority value, or null</p><hr><h2><a name="method_hashCode">hashCode</a></h2><p><code>public int <strong>hashCode</strong>()</code></p><p></p><h3>Returns</h3><p><code>int</code></p><hr><h2><a name="method_matchesByMatchOrName">matchesByMatchOrName</a></h2><p><code>public boolean <strong>matchesByMatchOrName</strong>(org.eclipse.wst.xsl.core.model.Template includedTemplate)</code></p><p></p><h3>Parameters</h3><p><code>includedTemplate</code></p><h3>Returns</h3><p><code>boolean</code></p><hr><h2><a name="method_toString">toString</a></h2><p><code>public java.lang.String <strong>toString</strong>()</code></p><p></p><h3>Returns</h3><p><code>java.lang.String</code></p><hr></body></html>