|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.icl.saxon.PreparedStyleSheet
This PreparedStyleSheet class represents a StyleSheet that has been prepared for execution (or "compiled").
Constructor Summary | |
PreparedStyleSheet()
Default Constructor |
Method Summary | |
java.lang.String |
getMediaType()
Determine the media type of the output of this stylesheet. |
NamePool |
getNamePool()
Get the name pool in use |
OutputDetails |
getOutputDetails()
Determine details of the output format of this stylesheet, as defined in its <xsl:output> element(s). |
OutputFormat |
getOutputFormat()
Get the properties for xsl:output. |
StyleNodeFactory |
getStyleNodeFactory()
Get the StyleNodeFactory in use |
DocumentInfo |
getStyleSheetDocument()
Get the root node of the stylesheet document |
URIResolver |
getURIResolver()
Get the URIResolver in use |
org.xml.sax.XMLReader |
getXMLReader()
Get the XML parser used for parsing this stylesheet. |
Transformer |
newTransformer()
TRAX method: make a Transformer from this Templates object. |
void |
prepare(org.xml.sax.InputSource styleSource)
Prepare a stylesheet from an InputSource |
void |
setNamePool(NamePool pool)
Set the name pool to be used |
void |
setParser(org.xml.sax.Parser parser)
Deprecated. in Saxon 5.2: use setXMLReader() instead. |
void |
setStyleSheetDocument(DocumentInfo doc)
Create a PreparedStyleSheet from a supplied DocumentInfo Note: the document must have been built using the StyleNodeFactory |
void |
setURIResolver(URIResolver resolver)
Set the URI resolver to be used |
void |
setXMLReader(org.xml.sax.XMLReader parser)
Set the parser to be used for parsing the stylesheet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PreparedStyleSheet()
Method Detail |
public void setParser(org.xml.sax.Parser parser)
public void setXMLReader(org.xml.sax.XMLReader parser)
public org.xml.sax.XMLReader getXMLReader()
public void setNamePool(NamePool pool)
public NamePool getNamePool()
public StyleNodeFactory getStyleNodeFactory()
public void setURIResolver(URIResolver resolver)
public URIResolver getURIResolver()
public void prepare(org.xml.sax.InputSource styleSource) throws org.xml.sax.SAXException
public void setStyleSheetDocument(DocumentInfo doc) throws org.xml.sax.SAXException
public Transformer newTransformer()
TRAX method: make a Transformer from this Templates object.
Equivalent to makeStyleSheetInstance()
newTransformer
in interface Templates
public DocumentInfo getStyleSheetDocument()
public OutputFormat getOutputFormat()
getOutputFormat
in interface Templates
OutputFormat
public OutputDetails getOutputDetails() throws org.xml.sax.SAXException
public java.lang.String getMediaType() throws org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |