|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.exolab.adaptx.xslt.XSLObject
|
+--org.exolab.adaptx.xslt.XSLImport
This class represents an xsl:import or xsl:include XSLElement.
| Field Summary | |
|---|---|
static int |
IMPORT
an int value indicating the xsl:import type |
static int |
INCLUDE
an int value indicating the xsl:include type |
| Fields inherited from class org.exolab.adaptx.xslt.XSLObject |
|---|
APPLY_IMPORTS, APPLY_TEMPLATES, ARG, ATTRIBUTE, ATTRIBUTE_SET, CALL_TEMPLATE, CDATA, CHOOSE, COMMENT, CONTENTS, COPY, COPY_OF, ELEMENT, ENTITY_REF, FOR_EACH, FUNCTIONS, ID, IF, KEY, LITERAL, LOCALE, MESSAGE, NUMBER, OTHERWISE, OUTPUT, PARAM, PI, PRESERVE_SPACE, SCRIPT, SORT, STRIP_SPACE, STYLESHEET, TEMPLATE, TEXT, VALUE_OF, VARIABLE, WHEN, WITH_PARAM |
| Constructor Summary | |
|---|---|
XSLImport()
Creates a new XSLImport |
|
XSLImport(XSLTStylesheet stylesheet)
Creates a new XSLImport |
|
| Method Summary | |
|---|---|
java.lang.String |
getHref()
Retrieves the href attribute of this XSLImport |
java.io.InputStream |
getInputStream(java.lang.String documentBase)
Returns an InputStream for the file represented by the href of this XSLImport |
XSLTStylesheet |
getStylesheet()
Returns the Stylesheet that this Import references |
void |
setStylesheet(XSLTStylesheet stylesheet)
Sets the Stylesheet that this Import references |
| Methods inherited from class org.exolab.adaptx.xslt.XSLObject |
|---|
appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNearestAncestor, getNodeValue, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setAttribute, setTypeName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int IMPORT
public static final int INCLUDE
| Constructor Detail |
public XSLImport()
public XSLImport(XSLTStylesheet stylesheet)
| Method Detail |
public java.lang.String getHref()
public XSLTStylesheet getStylesheet()
getStylesheet in class XSLObject
public java.io.InputStream getInputStream(java.lang.String documentBase)
throws java.net.MalformedURLException,
java.io.FileNotFoundException,
java.io.IOException
documentBase - the document base for resolving relative
URIs.
java.net.MalformedURLException
java.io.FileNotFoundException
java.io.IOExceptionpublic void setStylesheet(XSLTStylesheet stylesheet)
stylesheet - the XSLStylesheet that this Import references
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||