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

Variable Index

 o IMPORT
an int value indicating the xsl:import type
 o INCLUDE
an int value indicating the xsl:include type

Constructor Index

 o XSLImport(XSLStylesheet)
Creates a new XSLImport
 o XSLImport(XSLStylesheet, XSLStylesheet)
Creates a new XSLImport

Method Index

 o getHref()
Retrieves the href attribute of this XSLImport
 o getInputStream(String)
Returns an InputStream for the file represented by the href of this XSLImport
 o getStylesheet()
Returns the Stylesheet that this Import references
 o setStylesheet(XSLStylesheet)
Sets the Stylesheet that this Import references

Variables

 o IMPORT
 public static final int IMPORT
an int value indicating the xsl:import type

 o INCLUDE
 public static final int INCLUDE
an int value indicating the xsl:include type

Constructors

 o XSLImport
 public XSLImport(XSLStylesheet parentStylesheet)
Creates a new XSLImport

 o XSLImport
 public XSLImport(XSLStylesheet parentStylesheet,
                  XSLStylesheet stylesheet)
Creates a new XSLImport

Methods

 o getHref
 public String getHref()
Retrieves the href attribute of this XSLImport

Returns:
the href String of this XSLImport
 o getStylesheet
 public XSLStylesheet getStylesheet()
Returns the Stylesheet that this Import references

Returns:
the XSLStylesheet that this import references
 o 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
 o 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