@Converter public class XmlConverter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CHARSET_PROPERTY
Deprecated.
|
static String |
defaultCharset |
static String |
DOCUMENT_BUILDER_FACTORY_FEATURE |
static String |
OUTPUT_PROPERTIES_PREFIX |
Constructor and Description |
---|
XmlConverter() |
XmlConverter(DocumentBuilderFactory documentBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
void |
configureSaxonTransformerFactory(TransformerFactory factory)
Make a Saxon TransformerFactory more JAXP compliant by configuring it to
send <xsl:message> output to the ErrorListener.
|
Document |
createDocument() |
DocumentBuilder |
createDocumentBuilder() |
DocumentBuilder |
createDocumentBuilder(DocumentBuilderFactory factory) |
DocumentBuilderFactory |
createDocumentBuilderFactory() |
SAXParserFactory |
createSAXParserFactory() |
Transformer |
createTransfomer()
Deprecated.
use
createTransformer() , will be removed in Camel 3.0 |
Transformer |
createTransformer() |
TransformerFactory |
createTransformerFactory() |
Properties |
defaultOutputProperties()
Returns the default set of output properties for conversions.
|
DocumentBuilderFactory |
getDocumentBuilderFactory() |
DocumentBuilderFactory |
getDocumentBuilderFactory(Exchange exchange) |
TransformerFactory |
getTransformerFactory() |
void |
setDocumentBuilderFactory(DocumentBuilderFactory documentBuilderFactory) |
void |
setTransformerFactory(TransformerFactory transformerFactory) |
protected void |
setupFeatures(DocumentBuilderFactory factory) |
Boolean |
toBoolean(NodeList list)
Converts the given NodeList to a boolean
|
byte[] |
toByteArray(Source source,
Exchange exchange)
Converts the given input Source into bytes
|
BytesSource |
toBytesSource(byte[] data)
Converts the given byte[] to a Source
|
Document |
toDOMDocument(byte[] data)
Deprecated.
|
Document |
toDOMDocument(byte[] data,
Exchange exchange)
Converts the given data to a DOM document
|
Document |
toDOMDocument(File file)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
Document |
toDOMDocument(File file,
Exchange exchange)
Converts the given
File to a DOM document |
Document |
toDOMDocument(InputSource in)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
Document |
toDOMDocument(InputSource in,
Exchange exchange)
Converts the given
InputSource to a DOM document |
Document |
toDOMDocument(InputStream in)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
Document |
toDOMDocument(InputStream in,
Exchange exchange)
Converts the given
InputStream to a DOM document |
Document |
toDOMDocument(Node node)
Create a DOM document from the given Node.
|
Document |
toDOMDocument(Reader in)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
Document |
toDOMDocument(Reader in,
Exchange exchange)
Converts the given
Reader to a DOM document |
Document |
toDOMDocument(Source source)
Create a DOM document from the given source.
|
Document |
toDOMDocument(String text)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
Document |
toDOMDocument(String text,
Exchange exchange)
Converts the given
String to a DOM document |
Document |
toDOMDocumentFromSingleNodeList(NodeList nl)
Convert a NodeList consisting of just 1 node to a DOM Document.
|
Element |
toDOMElement(Node node)
Create a DOM element from the DOM node.
|
Element |
toDOMElement(Source source)
Create a DOM element from the given source.
|
Node |
toDOMNode(Source source)
Converts the given TRaX Source into a W3C DOM node
|
Node |
toDOMNodeFromSAX(SAXSource source) |
Node |
toDOMNodeFromSingleNodeList(NodeList nl)
Convert a NodeList consisting of just 1 node to a DOM Node.
|
Node |
toDOMNodeFromStAX(StAXSource source) |
DOMSource |
toDOMSource(byte[] bytes)
Converts the source instance to a
DOMSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
DOMSource |
toDOMSource(Document document)
Converts the given Document to a DOMSource
|
DOMSource |
toDOMSource(File file)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
DOMSource |
toDOMSource(File file,
Exchange exchange) |
DOMSource |
toDOMSource(InputStream is)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
DOMSource |
toDOMSource(InputStream is,
Exchange exchange) |
DOMSource |
toDOMSource(Node node)
Converts the given Node to a Source
|
DOMSource |
toDOMSource(Source source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
DOMSource |
toDOMSource(Source source,
Exchange exchange)
Converts the source instance to a
DOMSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
DOMSource |
toDOMSource(String text)
Converts the source instance to a
DOMSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
DOMSource |
toDOMSourceFromSAX(SAXSource source) |
DOMSource |
toDOMSourceFromStAX(StAXSource source) |
DOMSource |
toDOMSourceFromStream(StreamSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
DOMSource |
toDOMSourceFromStream(StreamSource source,
Exchange exchange) |
InputSource |
toInputSource(File file,
Exchange exchange) |
InputSource |
toInputSource(InputStream is,
Exchange exchange) |
InputStream |
toInputStream(Document dom)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
InputStream |
toInputStream(Document dom,
Exchange exchange) |
InputStream |
toInputStream(DOMSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
InputStream |
toInputStream(DOMSource source,
Exchange exchange) |
Reader |
toReaderFromSource(Source src)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
Reader |
toReaderFromSource(Source src,
Exchange exchange) |
void |
toResult(Source source,
Result result)
Converts the given input Source into the required result
|
void |
toResult(Source source,
Result result,
Properties outputProperties)
Converts the given input Source into the required result
|
SAXSource |
toSAXSource(byte[] in,
Exchange exchange)
Converts the source instance to a
SAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
SAXSource |
toSAXSource(File file,
Exchange exchange)
Converts the source instance to a
SAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
SAXSource |
toSAXSource(InputStream source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
SAXSource |
toSAXSource(InputStream source,
Exchange exchange)
Converts the source instance to a
SAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
SAXSource |
toSAXSource(Source source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
SAXSource |
toSAXSource(Source source,
Exchange exchange)
Converts the source instance to a
SAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
SAXSource |
toSAXSource(String source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
SAXSource |
toSAXSource(String source,
Exchange exchange)
Converts the source instance to a
SAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
SAXSource |
toSAXSourceFromDOM(DOMSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
SAXSource |
toSAXSourceFromDOM(DOMSource source,
Exchange exchange) |
SAXSource |
toSAXSourceFromStAX(StAXSource source,
Exchange exchange) |
SAXSource |
toSAXSourceFromStream(StreamSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
SAXSource |
toSAXSourceFromStream(StreamSource source,
Exchange exchange) |
DOMSource |
toSource(Document document)
Deprecated.
use toDOMSource instead
|
Source |
toSource(Node node)
Deprecated.
use toDOMSource instead
|
Source |
toSource(String data)
Converts the given String to a Source
|
StAXSource |
toStAXSource(byte[] in,
Exchange exchange)
Converts the source instance to a
StAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
StAXSource |
toStAXSource(File file,
Exchange exchange)
Converts the source instance to a
StAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
StAXSource |
toStAXSource(InputStream source,
Exchange exchange)
Converts the source instance to a
StAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
StAXSource |
toStAXSource(String source,
Exchange exchange)
Converts the source instance to a
StAXSource or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion). |
StreamSource |
toStreamSource(byte[] in,
Exchange exchange) |
StreamSource |
toStreamSource(ByteBuffer in,
Exchange exchange) |
StreamSource |
toStreamSource(File in) |
StreamSource |
toStreamSource(InputStream in) |
StreamSource |
toStreamSource(Reader in) |
StreamSource |
toStreamSource(Source source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
StreamSource |
toStreamSource(Source source,
Exchange exchange) |
StreamSource |
toStreamSourceFromDOM(DOMSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
StreamSource |
toStreamSourceFromDOM(DOMSource source,
Exchange exchange) |
StreamSource |
toStreamSourceFromSAX(SAXSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
StreamSource |
toStreamSourceFromSAX(SAXSource source,
Exchange exchange) |
StreamSource |
toStreamSourceFromStAX(StAXSource source,
Exchange exchange) |
String |
toString(Node node)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
String |
toString(Node node,
Exchange exchange)
Converts the given input Node into text
|
String |
toString(Source source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
String |
toString(Source source,
Exchange exchange)
Converts the given input Source into text
|
String |
toStringFromDocument(Document document,
Properties outputOptions)
Converts the given Document to into text
|
StringSource |
toStringSource(String data)
Converts the given String to a Source
|
@Deprecated public static final String DEFAULT_CHARSET_PROPERTY
public static final String OUTPUT_PROPERTIES_PREFIX
public static final String DOCUMENT_BUILDER_FACTORY_FEATURE
public static String defaultCharset
public XmlConverter()
public XmlConverter(DocumentBuilderFactory documentBuilderFactory)
public Properties defaultOutputProperties()
public void toResult(Source source, Result result) throws TransformerException
TransformerException
public void toResult(Source source, Result result, Properties outputProperties) throws TransformerException
TransformerException
@Converter public Boolean toBoolean(NodeList list)
@Converter public BytesSource toBytesSource(byte[] data)
@Converter public StringSource toStringSource(String data)
@Deprecated public DOMSource toSource(Document document)
@Deprecated public Source toSource(Node node) throws ParserConfigurationException, TransformerException
@Converter public DOMSource toDOMSource(Node node) throws ParserConfigurationException, TransformerException
@Converter public DOMSource toDOMSource(Document document)
@Converter public Source toSource(String data)
@Deprecated public String toString(Source source) throws TransformerException
TransformerException
@Converter public String toString(Source source, Exchange exchange) throws TransformerException
TransformerException
@Converter public byte[] toByteArray(Source source, Exchange exchange) throws TransformerException
TransformerException
@Deprecated public String toString(Node node) throws TransformerException
TransformerException
@Converter public String toString(Node node, Exchange exchange) throws TransformerException
TransformerException
public String toStringFromDocument(Document document, Properties outputOptions) throws TransformerException
document
- The document to convertoutputOptions
- The OutputKeys
properties to control various aspects of the XML outputTransformerException
@Deprecated public DOMSource toDOMSource(Source source) throws ParserConfigurationException, IOException, SAXException, TransformerException
DOMSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public DOMSource toDOMSource(Source source, Exchange exchange) throws ParserConfigurationException, IOException, SAXException, TransformerException
DOMSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public DOMSource toDOMSource(String text) throws ParserConfigurationException, IOException, SAXException, TransformerException
DOMSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public DOMSource toDOMSource(byte[] bytes) throws IOException, SAXException, ParserConfigurationException
DOMSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Deprecated public SAXSource toSAXSource(String source) throws IOException, SAXException, TransformerException
SAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public SAXSource toSAXSource(String source, Exchange exchange) throws IOException, SAXException, TransformerException
SAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public StAXSource toStAXSource(String source, Exchange exchange) throws XMLStreamException
StAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).XMLStreamException
@Converter public StAXSource toStAXSource(byte[] in, Exchange exchange) throws XMLStreamException
StAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).XMLStreamException
@Deprecated public SAXSource toSAXSource(InputStream source) throws IOException, SAXException, TransformerException
SAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public SAXSource toSAXSource(InputStream source, Exchange exchange) throws IOException, SAXException, TransformerException
SAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public SAXSource toSAXSource(byte[] in, Exchange exchange) throws IOException, SAXException, TransformerException
SAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public StAXSource toStAXSource(InputStream source, Exchange exchange) throws XMLStreamException
StAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).XMLStreamException
@Converter public SAXSource toSAXSource(File file, Exchange exchange) throws IOException, SAXException, TransformerException
SAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public StAXSource toStAXSource(File file, Exchange exchange) throws FileNotFoundException, XMLStreamException
StAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Deprecated public SAXSource toSAXSource(Source source) throws IOException, SAXException, TransformerException
SAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Converter public SAXSource toSAXSource(Source source, Exchange exchange) throws IOException, SAXException, TransformerException
SAXSource
or returns null if the conversion is not
supported (making it easy to derive from this class to add new kinds of conversion).@Deprecated public StreamSource toStreamSource(Source source) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSource(Source source, Exchange exchange) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSource(InputStream in) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSource(Reader in) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSource(File in) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSource(byte[] in, Exchange exchange) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSource(ByteBuffer in, Exchange exchange) throws TransformerException
TransformerException
@Deprecated public StreamSource toStreamSourceFromSAX(SAXSource source) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSourceFromSAX(SAXSource source, Exchange exchange) throws TransformerException
TransformerException
@Deprecated public StreamSource toStreamSourceFromDOM(DOMSource source) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSourceFromDOM(DOMSource source, Exchange exchange) throws TransformerException
TransformerException
@Converter public StreamSource toStreamSourceFromStAX(StAXSource source, Exchange exchange) throws TransformerException
TransformerException
@Deprecated public SAXSource toSAXSourceFromStream(StreamSource source) throws SAXException
SAXException
@Converter public SAXSource toSAXSourceFromStream(StreamSource source, Exchange exchange) throws SAXException
SAXException
@Deprecated public Reader toReaderFromSource(Source src) throws TransformerException
TransformerException
@Converter public Reader toReaderFromSource(Source src, Exchange exchange) throws TransformerException
TransformerException
@Deprecated public DOMSource toDOMSource(InputStream is) throws ParserConfigurationException, IOException, SAXException
@Converter public DOMSource toDOMSource(InputStream is, Exchange exchange) throws ParserConfigurationException, IOException, SAXException
@Deprecated public DOMSource toDOMSource(File file) throws ParserConfigurationException, IOException, SAXException
@Converter public DOMSource toDOMSource(File file, Exchange exchange) throws ParserConfigurationException, IOException, SAXException
@Deprecated public DOMSource toDOMSourceFromStream(StreamSource source) throws ParserConfigurationException, IOException, SAXException
@Converter public DOMSource toDOMSourceFromStream(StreamSource source, Exchange exchange) throws ParserConfigurationException, IOException, SAXException
@Deprecated public SAXSource toSAXSourceFromDOM(DOMSource source) throws TransformerException
TransformerException
@Converter public SAXSource toSAXSourceFromDOM(DOMSource source, Exchange exchange) throws TransformerException
TransformerException
@Converter public SAXSource toSAXSourceFromStAX(StAXSource source, Exchange exchange) throws TransformerException
TransformerException
@Converter public DOMSource toDOMSourceFromSAX(SAXSource source) throws IOException, SAXException, ParserConfigurationException, TransformerException
@Converter public DOMSource toDOMSourceFromStAX(StAXSource source) throws IOException, SAXException, ParserConfigurationException, TransformerException
@Converter public Node toDOMNodeFromSAX(SAXSource source) throws ParserConfigurationException, IOException, SAXException, TransformerException
@Converter public Node toDOMNodeFromStAX(StAXSource source) throws ParserConfigurationException, IOException, SAXException, TransformerException
@Converter(allowNull=true) public Node toDOMNodeFromSingleNodeList(NodeList nl)
nl
- the NodeList@Converter(allowNull=true) public Document toDOMDocumentFromSingleNodeList(NodeList nl) throws ParserConfigurationException, TransformerException
nl
- the NodeListParserConfigurationException
TransformerException
@Converter(allowNull=true) public Node toDOMNode(Source source) throws TransformerException, ParserConfigurationException, IOException, SAXException
@Converter public Element toDOMElement(Source source) throws TransformerException, ParserConfigurationException, IOException, SAXException
@Converter public Element toDOMElement(Node node) throws TransformerException
TransformerException
@Deprecated public Document toDOMDocument(byte[] data) throws IOException, SAXException, ParserConfigurationException
data
- is the data to be parsedIOException
SAXException
ParserConfigurationException
@Converter public Document toDOMDocument(byte[] data, Exchange exchange) throws IOException, SAXException, ParserConfigurationException
data
- is the data to be parsedexchange
- is the exchange to be used when calling the converterIOException
SAXException
ParserConfigurationException
@Deprecated public Document toDOMDocument(InputStream in) throws IOException, SAXException, ParserConfigurationException
InputStream
to a DOM documentin
- is the data to be parsedIOException
SAXException
ParserConfigurationException
@Converter public Document toDOMDocument(InputStream in, Exchange exchange) throws IOException, SAXException, ParserConfigurationException
InputStream
to a DOM documentin
- is the data to be parsedexchange
- is the exchange to be used when calling the converterIOException
SAXException
ParserConfigurationException
@Deprecated public Document toDOMDocument(Reader in) throws IOException, SAXException, ParserConfigurationException
Reader
to a DOM documentin
- is the data to be parsedIOException
SAXException
ParserConfigurationException
@Converter public Document toDOMDocument(Reader in, Exchange exchange) throws IOException, SAXException, ParserConfigurationException
Reader
to a DOM documentin
- is the data to be parsedexchange
- is the exchange to be used when calling the converterIOException
SAXException
ParserConfigurationException
@Deprecated public Document toDOMDocument(InputSource in) throws IOException, SAXException, ParserConfigurationException
InputSource
to a DOM documentin
- is the data to be parsedIOException
SAXException
ParserConfigurationException
@Converter public Document toDOMDocument(InputSource in, Exchange exchange) throws IOException, SAXException, ParserConfigurationException
InputSource
to a DOM documentin
- is the data to be parsedexchange
- is the exchange to be used when calling the converterIOException
SAXException
ParserConfigurationException
@Deprecated public Document toDOMDocument(String text) throws IOException, SAXException, ParserConfigurationException
String
to a DOM documenttext
- is the data to be parsedIOException
SAXException
ParserConfigurationException
@Converter public Document toDOMDocument(String text, Exchange exchange) throws IOException, SAXException, ParserConfigurationException
String
to a DOM documenttext
- is the data to be parsedexchange
- is the exchange to be used when calling the converterIOException
SAXException
ParserConfigurationException
@Deprecated public Document toDOMDocument(File file) throws IOException, SAXException, ParserConfigurationException
File
to a DOM documentfile
- is the data to be parsedIOException
SAXException
ParserConfigurationException
@Converter public Document toDOMDocument(File file, Exchange exchange) throws IOException, SAXException, ParserConfigurationException
File
to a DOM documentfile
- is the data to be parsedexchange
- is the exchange to be used when calling the converterIOException
SAXException
ParserConfigurationException
@Converter public Document toDOMDocument(Source source) throws TransformerException, ParserConfigurationException, IOException, SAXException
@Converter public Document toDOMDocument(Node node) throws ParserConfigurationException, TransformerException
@Deprecated public InputStream toInputStream(DOMSource source) throws TransformerException, IOException
TransformerException
IOException
@Converter public InputStream toInputStream(DOMSource source, Exchange exchange) throws TransformerException, IOException
TransformerException
IOException
@Deprecated public InputStream toInputStream(Document dom) throws TransformerException, IOException
TransformerException
IOException
@Converter public InputStream toInputStream(Document dom, Exchange exchange) throws TransformerException, IOException
TransformerException
IOException
@Converter public InputSource toInputSource(InputStream is, Exchange exchange)
@Converter public InputSource toInputSource(File file, Exchange exchange) throws FileNotFoundException
FileNotFoundException
public DocumentBuilderFactory getDocumentBuilderFactory()
public void setDocumentBuilderFactory(DocumentBuilderFactory documentBuilderFactory)
public TransformerFactory getTransformerFactory()
public void setTransformerFactory(TransformerFactory transformerFactory)
protected void setupFeatures(DocumentBuilderFactory factory)
public DocumentBuilderFactory getDocumentBuilderFactory(Exchange exchange)
public DocumentBuilderFactory createDocumentBuilderFactory()
public DocumentBuilder createDocumentBuilder() throws ParserConfigurationException
ParserConfigurationException
public DocumentBuilder createDocumentBuilder(DocumentBuilderFactory factory) throws ParserConfigurationException
ParserConfigurationException
public Document createDocument() throws ParserConfigurationException
ParserConfigurationException
@Deprecated public Transformer createTransfomer() throws TransformerConfigurationException
createTransformer()
, will be removed in Camel 3.0public Transformer createTransformer() throws TransformerConfigurationException
public TransformerFactory createTransformerFactory()
public void configureSaxonTransformerFactory(TransformerFactory factory)
factory
- the TransformerFactorypublic SAXParserFactory createSAXParserFactory()
Apache Camel