All Packages Class Hierarchy This Package Previous Next Index
Class com.kvisco.xsl.XSLImport
com.kvisco.xsl.XSLObject
|
+----com.kvisco.xsl.XSLImport
- public class XSLImport
- extends XSLObject
This class represents an xsl:import or xsl:include
XSLElement.
- Author:
- Keith Visco
-
IMPORT
- an int value indicating the xsl:import type
-
INCLUDE
- an int value indicating the xsl:include type
-
XSLImport(XSLStylesheet)
- Creates a new XSLImport
-
XSLImport(XSLStylesheet, XSLStylesheet)
- Creates a new XSLImport
-
getHref()
- Retrieves the href attribute of this XSLImport
-
getInputStream(String)
- Returns an InputStream for the file represented by the href
of this XSLImport
-
getStylesheet()
- Returns the Stylesheet that this Import references
-
setStylesheet(XSLStylesheet)
- Sets the Stylesheet that this Import references
IMPORT
public static final int IMPORT
- an int value indicating the xsl:import type
INCLUDE
public static final int INCLUDE
- an int value indicating the xsl:include type
XSLImport
public XSLImport(XSLStylesheet parentStylesheet)
- Creates a new XSLImport
XSLImport
public XSLImport(XSLStylesheet parentStylesheet,
XSLStylesheet stylesheet)
- Creates a new XSLImport
getHref
public String getHref()
- Retrieves the href attribute of this XSLImport
- Returns:
- the href String of this XSLImport
getStylesheet
public XSLStylesheet getStylesheet()
- Returns the Stylesheet that this Import references
- Returns:
- the XSLStylesheet that this import references
getInputStream
public InputStream getInputStream(String documentBase) throws MalformedURLException, FileNotFoundException, IOException
- Returns an InputStream for the file represented by the href
of this XSLImport
- Parameters:
- documentBase - the document base for resolving relative
URIs.
- Returns:
- an InputStream for the file represented by this
elements href attribute
setStylesheet
public void setStylesheet(XSLStylesheet stylesheet)
- Sets the Stylesheet that this Import references
- Parameters:
- stylesheet - the XSLStylesheet that this Import references
All Packages Class Hierarchy This Package Previous Next Index