Package org.eclipse.wst.xsl.core.model
public class Stylesheet extends org.eclipse.wst.xsl.core.model.XSLElementThe
xsl:stylesheet
model element.Field Summary | |
package-private java.util.List | calledTemplates |
package-private java.util.List | elements |
package-private IFile | file |
package-private java.util.List | functions |
package-private java.util.List | globalVariables |
package-private java.util.List | imports |
package-private java.util.List | includes |
package-private java.util.List | templates |
package-private java.lang.String | version |
Constructor Summary |
Stylesheet(IFile file) |
Method Summary | |
public void | addCalledTemplate(org.eclipse.wst.xsl.core.model.CallTemplate template) Add a CallTemplate to this. |
public void | addFunction(org.eclipse.wst.xsl.core.model.Function function) |
public void | addGlobalVariable(org.eclipse.wst.xsl.core.model.Variable var) Add a global variable to this. |
public void | addImport(org.eclipse.wst.xsl.core.model.Import include) Add an Import to this. |
public void | addInclude(org.eclipse.wst.xsl.core.model.Include include) Add an Include to this. |
public void | addTemplate(org.eclipse.wst.xsl.core.model.Template template) Add a Template to this. |
public java.util.List | getCalledTemplates() Get the list of called templates for this. |
public IFile | getFile() Get the file that this represents. |
public java.util.List | getFunctions() Get the list of functions for this stylesheet. |
public java.util.List | getGlobalVariables() |
public java.util.List | getImports() Get the list of imports for this. |
public java.util.List | getIncludes() Get the list of includes for this. |
public org.eclipse.wst.xsl.core.model.XSLModelObject.Type | getModelType() |
public org.eclipse.wst.xsl.core.model.Stylesheet | getStylesheet() |
public java.util.List | getTemplates() Get the list of templates for this. |
public java.lang.String | getVersion() Get the stylesheet version. |
public void | setVersion(java.lang.String version) Set the stylesheet version. |
Field Detail |
package-private java.util.List calledTemplates
package-private java.util.List elements
package-private IFile file
package-private java.util.List functions
package-private java.util.List globalVariables
package-private java.util.List imports
package-private java.util.List includes
package-private java.util.List templates
package-private java.lang.String version
Constructor Detail |
public Stylesheet(IFile file)
Create an instance of this.
Methods Detail |
public void addCalledTemplate(org.eclipse.wst.xsl.core.model.CallTemplate template)
Add a CallTemplate
to this.
template
- the template to add
public void addFunction(org.eclipse.wst.xsl.core.model.Function function)
function
public void addGlobalVariable(org.eclipse.wst.xsl.core.model.Variable var)
Add a global variable to this.
var
- the variable to add
public void addImport(org.eclipse.wst.xsl.core.model.Import include)
Add an Import
to this.
include
- the import to add
public void addInclude(org.eclipse.wst.xsl.core.model.Include include)
Add an Include
to this.
include
- the include to add
public void addTemplate(org.eclipse.wst.xsl.core.model.Template template)
Add a Template
to this.
template
- the template to add
public java.util.List getCalledTemplates()
Get the list of called templates for this.
java.util.List
- the list of called templates
public IFile getFile()
Get the file that this represents.
IFile
- the file that this represents
public java.util.List getFunctions()
Get the list of functions for this stylesheet.
java.util.List
- the list of called templates
public java.util.List getGlobalVariables()
java.util.List
public java.util.List getImports()
Get the list of imports for this.
java.util.List
- the list of imports
public java.util.List getIncludes()
Get the list of includes for this.
java.util.List
- the list of includes
public org.eclipse.wst.xsl.core.model.XSLModelObject.Type getModelType()
org.eclipse.wst.xsl.core.model.XSLModelObject.Type
public org.eclipse.wst.xsl.core.model.Stylesheet getStylesheet()
org.eclipse.wst.xsl.core.model.Stylesheet
public java.util.List getTemplates()
Get the list of templates for this.
java.util.List
- the list of templates
public java.lang.String getVersion()
Get the stylesheet version.
java.lang.String
public void setVersion(java.lang.String version)
Set the stylesheet version.
version
- the version to set