Package org.eclipse.wst.xsl.core.model
public class Template extends org.eclipse.wst.xsl.core.model.XSLElementThe
xsl:template
model element.Field Summary | |
package-private java.util.List | parameters |
package-private java.util.List | variables |
Constructor Summary |
Template(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet) |
Method Summary | |
public void | addParameter(org.eclipse.wst.xsl.core.model.Parameter parameter) Add a parameter to this. |
public void | addVariable(org.eclipse.wst.xsl.core.model.Variable var) Add a variable to this. |
public boolean | equals(java.lang.Object obj) |
public java.lang.String | getMatch() Get the value of the match attribute if one exists. |
public java.lang.String | getMode() Get the value of the mode attribute if one exists. |
public org.eclipse.wst.xsl.core.model.XSLModelObject.Type | getModelType() |
public java.lang.String | getName() Get the value of the name attribute if one exists. |
public java.util.List | getParameters() Get the list of parameters of this. |
public java.lang.String | getPriority() Get the value of the priority attribute if one exists. |
public int | hashCode() |
public boolean | matchesByMatchOrName(org.eclipse.wst.xsl.core.model.Template includedTemplate) |
public java.lang.String | toString() |
Field Detail |
package-private java.util.List parameters
package-private java.util.List variables
Constructor Detail |
public Template(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet)
Create a new instance of this.
Methods Detail |
public void addParameter(org.eclipse.wst.xsl.core.model.Parameter parameter)
Add a parameter to this.
parameter
- the parameter to add
public void addVariable(org.eclipse.wst.xsl.core.model.Variable var)
Add a variable to this.
var
- the variable to add
public boolean equals(java.lang.Object obj)
obj
boolean
public java.lang.String getMatch()
Get the value of the match
attribute if one exists.
java.lang.String
- the match value, or null
public java.lang.String getMode()
Get the value of the mode
attribute if one exists.
java.lang.String
- the mode value, or null
public org.eclipse.wst.xsl.core.model.XSLModelObject.Type getModelType()
org.eclipse.wst.xsl.core.model.XSLModelObject.Type
public java.lang.String getName()
Get the value of the name
attribute if one exists.
java.lang.String
- the template name, or null
public java.util.List getParameters()
Get the list of parameters of this.
java.util.List
- the list of parameters
public java.lang.String getPriority()
Get the value of the priority
attribute if one exists.
java.lang.String
- the priority value, or null
public int hashCode()
int
public boolean matchesByMatchOrName(org.eclipse.wst.xsl.core.model.Template includedTemplate)
includedTemplate
boolean
public java.lang.String toString()
java.lang.String