Package org.eclipse.wst.xsl.core.model
public class Include extends org.eclipse.wst.xsl.core.model.XSLElementThe
xsl:include model element.Field Summary | |
public static int | IMPORTConstant indicating that this is an <code>Import</code>. |
public static int | INCLUDEConstant indicating that this is an <code>Include</code>. |
Constructor Summary |
Include(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet) |
Include(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet
,
int type) |
Method Summary | |
public java.lang.String | getHref()Get the value of the href attribute if one exists. |
public IFile | getHrefAsFile()Gets the included file as a source file, if possible (returned file may be null and need not exist). |
public int | getIncludeType()Get the type of include, whether an Include or an Import. |
public org.eclipse.wst.xsl.core.model.XSLModelObject.Type | getModelType() |
Field Detail |
public static int IMPORT
Constant indicating that this is an Import. |
public static int INCLUDE
Constant indicating that this is an Include. |
Constructor Detail |
public Include(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet)
Create a new instance of this.
protected Include(org.eclipse.wst.xsl.core.model.Stylesheet stylesheet
,
int type)
Create a new instance of this, specifying whether an Include or an Import.
Methods Detail |
public java.lang.String getHref()
Get the value of the href attribute if one exists.
java.lang.String - the href value, or null
public IFile getHrefAsFile()
Gets the included file as a source file, if possible (returned file may be null and need not exist).
IFile - the included file, or null
public int getIncludeType()
Get the type of include, whether an Include or an Import.
int - one of the constants INCLUDE or IMPORT
public org.eclipse.wst.xsl.core.model.XSLModelObject.Type getModelType()
org.eclipse.wst.xsl.core.model.XSLModelObject.Type