Package org.apache.axis2.util
Class XSLTTemplateProcessor
java.lang.Object
org.apache.axis2.util.XSLTTemplateProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidparse(OutputStream out, InputStream xmlStream, InputStream xsltStream) Parses an XML stream with an XSL streamstatic voidparse(OutputStream out, Document document, InputStream xsltStream) static voidparse(OutputStream out, Document document, InputStream xsltStream, URIResolver customResolver) static voidparse(OutputStream out, Document document, InputStream xsltStream, URIResolver customResolver, boolean pretty) static voidparse(OutputStream out, Document doc, Transformer transformer) Parses an XML stream with an XSL stream
-
Constructor Details
-
XSLTTemplateProcessor
public XSLTTemplateProcessor()
-
-
Method Details
-
parse
public static void parse(OutputStream out, InputStream xmlStream, InputStream xsltStream) throws TransformerFactoryConfigurationError, TransformerException Parses an XML stream with an XSL stream- Parameters:
out- Stream to write the outputxmlStream- Source XML streamxsltStream- Source XSL stream- Throws:
TransformerFactoryConfigurationErrorTransformerException
-
parse
public static void parse(OutputStream out, Document doc, Transformer transformer) throws TransformerFactoryConfigurationError, TransformerException Parses an XML stream with an XSL stream- Parameters:
out- Stream to write the outputdoc-transformer-- Throws:
TransformerFactoryConfigurationErrorTransformerException
-
parse
public static void parse(OutputStream out, Document document, InputStream xsltStream) throws TransformerFactoryConfigurationError, TransformerException - Parameters:
out-document-xsltStream-- Throws:
TransformerFactoryConfigurationErrorTransformerException
-
parse
public static void parse(OutputStream out, Document document, InputStream xsltStream, URIResolver customResolver) throws TransformerFactoryConfigurationError, TransformerException - Parameters:
out-document-xsltStream-- Throws:
TransformerFactoryConfigurationErrorTransformerException
-
parse
public static void parse(OutputStream out, Document document, InputStream xsltStream, URIResolver customResolver, boolean pretty) throws TransformerFactoryConfigurationError, TransformerException - Parameters:
out-document-xsltStream-- Throws:
TransformerFactoryConfigurationErrorTransformerException
-