|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XSLTUtil
| Method Summary | |
|---|---|
Transformer |
createTransformer(Hashtable<String,String> parameters,
Source xsltSource)
Create the transformer |
Transformer |
createTransformer(Source xsltSource)
Create a transformer |
Document |
loadXML(String filename)
Loads a W3C XML document from a file. |
Document |
transformDocument(Document xmlDocument,
Hashtable<String,String> parameters,
Source xsltSource)
Applies a stylesheet (that receives parameters) to a given xml document. |
Document |
transformDocument(Document xmlDocument,
Hashtable<String,String> parameters,
String xsltFilename)
Applies a stylesheet (that receives parameters) to a given xml document. |
Document |
transformDocument(Document xmlDocument,
Source xsltSource)
Applies a stylesheet to a given xml document. |
Document |
transformDocument(Document xmlDocument,
String xsltFilename)
Applies a stylesheet to a given xml document. |
Document |
transformDocument(Document xmlDocument,
Transformer transformer)
Use a transformer for a given xml document. |
String |
transformDocumentAsString(Document xmlDocument,
Hashtable<String,String> parameters,
Source xsltSource)
Applies a stylesheet (that receives parameters) to a given xml document. |
String |
transformDocumentAsString(Document xmlDocument,
Hashtable<String,String> parameters,
String xsltFilename)
Applies a stylesheet (that receives parameters) to a given xml document. |
String |
transformDocumentAsString(Document xmlDocument,
Source xsltSource)
Applies a stylesheet to a given xml document. |
String |
transformDocumentAsString(Document xmlDocument,
String xsltFilename)
Applies a stylesheet to a given xml document. |
| Method Detail |
|---|
Document loadXML(String filename)
throws IOException,
ParserConfigurationException,
SAXException
filename - The name of the file to be loaded
IOException
ParserConfigurationException
SAXException
Document transformDocument(Document xmlDocument,
String xsltFilename)
throws TransformerException,
ParserConfigurationException
xmlDocument - the xml document to be transformedxsltFilename - the filename of the stylesheet
ParserConfigurationException
TransformerException
Document transformDocument(Document xmlDocument,
Hashtable<String,String> parameters,
String xsltFilename)
throws TransformerException,
ParserConfigurationException
xmlDocument - the xml document to be transformedparameters - the hashtable with the parameters to be passed to the
stylesheetxsltFilename - the filename of the stylesheet
ParserConfigurationException
TransformerException
String transformDocumentAsString(Document xmlDocument,
Hashtable<String,String> parameters,
String xsltFilename)
throws TransformerFactoryConfigurationError,
TransformerException
xmlDocument - the xml document to be transformedparameters - the hashtable with the parameters to be passed to the
stylesheetxsltFilename - the filename of the stylesheet
TransformerException
TransformerFactoryConfigurationError
String transformDocumentAsString(Document xmlDocument,
String xsltFilename)
throws TransformerFactoryConfigurationError,
TransformerException
xmlDocument - the xml document to be transformedxsltFilename - the filename of the stylesheet
TransformerException
TransformerFactoryConfigurationError
String transformDocumentAsString(Document xmlDocument,
Source xsltSource)
throws TransformerFactoryConfigurationError,
TransformerException
xmlDocument - the xml document to be transformedxsltSource - the source of the stylesheet
TransformerException
TransformerFactoryConfigurationError
String transformDocumentAsString(Document xmlDocument,
Hashtable<String,String> parameters,
Source xsltSource)
throws TransformerFactoryConfigurationError,
TransformerException
xmlDocument - the xml document to be transformedparameters - the hashtable with the parameters to be passed to the
stylesheetxsltSource - the source of the stylesheet
TransformerException
TransformerFactoryConfigurationError
Document transformDocument(Document xmlDocument,
Source xsltSource)
throws TransformerException,
ParserConfigurationException
xmlDocument - the xml document to be transformedxsltSource - the source of the stylesheet
TransformerException
ParserConfigurationException
Document transformDocument(Document xmlDocument,
Hashtable<String,String> parameters,
Source xsltSource)
throws TransformerException,
ParserConfigurationException
xmlDocument - the xml document to be transformedparameters - the hashtable with the parameters to be passed to the
stylesheetxsltSource - the source of the stylesheet
TransformerException
ParserConfigurationException
Document transformDocument(Document xmlDocument,
Transformer transformer)
throws TransformerException,
ParserConfigurationException
xmlDocument - the xml document to be transformedtransformer - the transformer created with the stylesheet
TransformerException
ParserConfigurationException
Transformer createTransformer(Hashtable<String,String> parameters,
Source xsltSource)
throws TransformerFactoryConfigurationError,
TransformerException
parameters - the hashtable with the parameters to be passed to the
stylesheetxsltSource - the source of the stylesheet
TransformerFactoryConfigurationError
TransformerException
Transformer createTransformer(Source xsltSource)
throws TransformerFactoryConfigurationError,
TransformerException
xsltSource - the source of the stylesheet
TransformerFactoryConfigurationError
TransformerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||