|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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 | |
protected |
PreparedStyleSheet(TransformerFactoryImpl factory)
Constructor: deliberately protected |
Method Summary | |
NamePool |
getNamePool()
Get the name pool in use |
java.util.Properties |
getOutputProperties()
Get the properties for xsl:output. |
StyleNodeFactory |
getStyleNodeFactory()
Get the StyleNodeFactory in use |
DocumentImpl |
getStyleSheetDocument()
Get the root node of the principal stylesheet document |
TransformerFactoryImpl |
getTransformerFactory()
Get the TransformerFactory used to create this PreparedStyleSheet |
javax.xml.transform.Transformer |
newTransformer()
Make a Transformer from this Templates object. |
protected void |
prepare(javax.xml.transform.sax.SAXSource styleSource)
Prepare a stylesheet from an InputSource |
void |
reportError(javax.xml.transform.TransformerException err)
Report a compile time error. |
void |
setNamePool(NamePool pool)
Set the name pool to be used |
protected void |
setStyleSheetDocument(DocumentImpl doc)
Create a PreparedStyleSheet from a supplied DocumentInfo Note: the document must have been built using the StyleNodeFactory |
DocumentInfo |
stripWhitespace(org.w3c.dom.Document doc)
Use the xsl:strip-space directives in this stylesheet to strip spaces from a source document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected PreparedStyleSheet(TransformerFactoryImpl factory)
Method Detail |
public javax.xml.transform.Transformer newTransformer()
newTransformer
in interface javax.xml.transform.Templates
public TransformerFactoryImpl getTransformerFactory()
public void setNamePool(NamePool pool)
public NamePool getNamePool()
public StyleNodeFactory getStyleNodeFactory()
protected void prepare(javax.xml.transform.sax.SAXSource styleSource) throws javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerConfigurationException
protected void setStyleSheetDocument(DocumentImpl doc) throws javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerConfigurationException
public DocumentImpl getStyleSheetDocument()
public java.util.Properties getOutputProperties()
getOutputProperties
in interface javax.xml.transform.Templates
public void reportError(javax.xml.transform.TransformerException err) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
public DocumentInfo stripWhitespace(org.w3c.dom.Document doc) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |