@Converter public class XmlConverter extends java.lang.Object
Source and Document| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_CHARSET_PROPERTY
Deprecated.
|
static java.lang.String |
defaultCharset |
static java.lang.String |
DOCUMENT_BUILDER_FACTORY_FEATURE |
static java.lang.String |
OUTPUT_PROPERTIES_PREFIX |
| Constructor and Description |
|---|
XmlConverter() |
XmlConverter(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
createDocument() |
javax.xml.parsers.DocumentBuilder |
createDocumentBuilder() |
javax.xml.parsers.DocumentBuilderFactory |
createDocumentBuilderFactory() |
javax.xml.transform.Transformer |
createTransfomer()
Deprecated.
use
createTransformer(), will be removed in Camel 3.0 |
javax.xml.transform.Transformer |
createTransformer() |
javax.xml.transform.TransformerFactory |
createTransformerFactory() |
java.util.Properties |
defaultOutputProperties()
Returns the default set of output properties for conversions.
|
javax.xml.parsers.DocumentBuilderFactory |
getDocumentBuilderFactory() |
javax.xml.transform.TransformerFactory |
getTransformerFactory() |
void |
setDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory) |
void |
setTransformerFactory(javax.xml.transform.TransformerFactory transformerFactory) |
protected void |
setupFeatures(javax.xml.parsers.DocumentBuilderFactory factory) |
java.lang.Boolean |
toBoolean(org.w3c.dom.NodeList list)
Converts the given NodeList to a boolean
|
byte[] |
toByteArray(javax.xml.transform.Source source,
Exchange exchange)
Converts the given input Source into bytes
|
BytesSource |
toBytesSource(byte[] data)
Converts the given byte[] to a Source
|
org.w3c.dom.Document |
toDOMDocument(byte[] data)
Converts the given data to a DOM document
|
org.w3c.dom.Document |
toDOMDocument(java.io.File file)
Converts the given
File to a DOM document |
org.w3c.dom.Document |
toDOMDocument(org.xml.sax.InputSource in)
Converts the given
InputSource to a DOM document |
org.w3c.dom.Document |
toDOMDocument(java.io.InputStream in)
Converts the given
InputStream to a DOM document |
org.w3c.dom.Document |
toDOMDocument(org.w3c.dom.Node node)
Create a DOM document from the given Node.
|
org.w3c.dom.Document |
toDOMDocument(java.io.Reader in)
Converts the given
InputStream to a DOM document |
org.w3c.dom.Document |
toDOMDocument(javax.xml.transform.Source source)
Create a DOM document from the given source.
|
org.w3c.dom.Document |
toDOMDocument(java.lang.String text)
Converts the given
String to a DOM document |
org.w3c.dom.Document |
toDOMDocumentFromSingleNodeList(org.w3c.dom.NodeList nl)
Convert a NodeList consisting of just 1 node to a DOM Document.
|
org.w3c.dom.Element |
toDOMElement(org.w3c.dom.Node node)
Create a DOM element from the DOM node.
|
org.w3c.dom.Element |
toDOMElement(javax.xml.transform.Source source)
Create a DOM element from the given source.
|
org.w3c.dom.Node |
toDOMNode(javax.xml.transform.Source source)
Converts the given TRaX Source into a W3C DOM node
|
org.w3c.dom.Node |
toDOMNodeFromSAX(javax.xml.transform.sax.SAXSource source) |
org.w3c.dom.Node |
toDOMNodeFromSingleNodeList(org.w3c.dom.NodeList nl)
Convert a NodeList consisting of just 1 node to a DOM Node.
|
org.w3c.dom.Node |
toDOMNodeFromStAX(javax.xml.transform.stax.StAXSource source) |
javax.xml.transform.dom.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). |
javax.xml.transform.dom.DOMSource |
toDOMSource(org.w3c.dom.Document document)
Converts the given Document to a DOMSource
|
javax.xml.transform.dom.DOMSource |
toDOMSource(java.io.File file) |
javax.xml.transform.dom.DOMSource |
toDOMSource(java.io.InputStream is) |
javax.xml.transform.dom.DOMSource |
toDOMSource(org.w3c.dom.Node node)
Converts the given Node to a Source
|
javax.xml.transform.dom.DOMSource |
toDOMSource(javax.xml.transform.Source source)
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). |
javax.xml.transform.dom.DOMSource |
toDOMSource(java.lang.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). |
javax.xml.transform.dom.DOMSource |
toDOMSourceFromSAX(javax.xml.transform.sax.SAXSource source) |
javax.xml.transform.dom.DOMSource |
toDOMSourceFromStAX(javax.xml.transform.stax.StAXSource source) |
javax.xml.transform.dom.DOMSource |
toDOMSourceFromStream(javax.xml.transform.stream.StreamSource source) |
org.xml.sax.InputSource |
toInputSource(java.io.File file,
Exchange exchange) |
org.xml.sax.InputSource |
toInputSource(java.io.InputStream is,
Exchange exchange) |
java.io.InputStream |
toInputStream(org.w3c.dom.Document dom)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
java.io.InputStream |
toInputStream(org.w3c.dom.Document dom,
Exchange exchange) |
java.io.InputStream |
toInputStream(javax.xml.transform.dom.DOMSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
java.io.InputStream |
toInputStream(javax.xml.transform.dom.DOMSource source,
Exchange exchange) |
java.io.Reader |
toReaderFromSource(javax.xml.transform.Source src)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
java.io.Reader |
toReaderFromSource(javax.xml.transform.Source src,
Exchange exchange) |
void |
toResult(javax.xml.transform.Source source,
javax.xml.transform.Result result)
Converts the given input Source into the required result
|
void |
toResult(javax.xml.transform.Source source,
javax.xml.transform.Result result,
java.util.Properties outputProperties)
Converts the given input Source into the required result
|
javax.xml.transform.sax.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). |
javax.xml.transform.sax.SAXSource |
toSAXSource(java.io.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). |
javax.xml.transform.sax.SAXSource |
toSAXSource(java.io.InputStream source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
javax.xml.transform.sax.SAXSource |
toSAXSource(java.io.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). |
javax.xml.transform.sax.SAXSource |
toSAXSource(javax.xml.transform.Source source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
javax.xml.transform.sax.SAXSource |
toSAXSource(javax.xml.transform.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). |
javax.xml.transform.sax.SAXSource |
toSAXSource(java.lang.String source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
javax.xml.transform.sax.SAXSource |
toSAXSource(java.lang.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). |
javax.xml.transform.sax.SAXSource |
toSAXSourceFromDOM(javax.xml.transform.dom.DOMSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
javax.xml.transform.sax.SAXSource |
toSAXSourceFromDOM(javax.xml.transform.dom.DOMSource source,
Exchange exchange) |
javax.xml.transform.sax.SAXSource |
toSAXSourceFromStAX(javax.xml.transform.stax.StAXSource source,
Exchange exchange) |
javax.xml.transform.sax.SAXSource |
toSAXSourceFromStream(javax.xml.transform.stream.StreamSource source) |
javax.xml.transform.dom.DOMSource |
toSource(org.w3c.dom.Document document)
Deprecated.
use toDOMSource instead
|
javax.xml.transform.Source |
toSource(org.w3c.dom.Node node)
Deprecated.
use toDOMSource instead
|
javax.xml.transform.Source |
toSource(java.lang.String data)
Converts the given String to a Source
|
javax.xml.transform.stax.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). |
javax.xml.transform.stax.StAXSource |
toStAXSource(java.io.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). |
javax.xml.transform.stax.StAXSource |
toStAXSource(java.io.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). |
javax.xml.transform.stax.StAXSource |
toStAXSource(java.lang.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). |
javax.xml.transform.stream.StreamSource |
toStreamSource(byte[] in,
Exchange exchange) |
javax.xml.transform.stream.StreamSource |
toStreamSource(java.nio.ByteBuffer in,
Exchange exchange) |
javax.xml.transform.stream.StreamSource |
toStreamSource(java.io.File in) |
javax.xml.transform.stream.StreamSource |
toStreamSource(java.io.InputStream in) |
javax.xml.transform.stream.StreamSource |
toStreamSource(java.io.Reader in) |
javax.xml.transform.stream.StreamSource |
toStreamSource(javax.xml.transform.Source source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
javax.xml.transform.stream.StreamSource |
toStreamSource(javax.xml.transform.Source source,
Exchange exchange) |
javax.xml.transform.stream.StreamSource |
toStreamSourceFromDOM(javax.xml.transform.dom.DOMSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
javax.xml.transform.stream.StreamSource |
toStreamSourceFromDOM(javax.xml.transform.dom.DOMSource source,
Exchange exchange) |
javax.xml.transform.stream.StreamSource |
toStreamSourceFromSAX(javax.xml.transform.sax.SAXSource source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
javax.xml.transform.stream.StreamSource |
toStreamSourceFromSAX(javax.xml.transform.sax.SAXSource source,
Exchange exchange) |
javax.xml.transform.stream.StreamSource |
toStreamSourceFromStAX(javax.xml.transform.stax.StAXSource source,
Exchange exchange) |
java.lang.String |
toString(org.w3c.dom.Node node)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
java.lang.String |
toString(org.w3c.dom.Node node,
Exchange exchange)
Converts the given input Node into text
|
java.lang.String |
toString(javax.xml.transform.Source source)
Deprecated.
will be removed in Camel 3.0. Use the method which has 2 parameters.
|
java.lang.String |
toString(javax.xml.transform.Source source,
Exchange exchange)
Converts the given input Source into text
|
StringSource |
toStringSource(java.lang.String data)
Converts the given String to a Source
|
@Deprecated public static final java.lang.String DEFAULT_CHARSET_PROPERTY
public static final java.lang.String OUTPUT_PROPERTIES_PREFIX
public static final java.lang.String DOCUMENT_BUILDER_FACTORY_FEATURE
public static java.lang.String defaultCharset
public XmlConverter()
public XmlConverter(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
public java.util.Properties defaultOutputProperties()
public void toResult(javax.xml.transform.Source source,
javax.xml.transform.Result result)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionpublic void toResult(javax.xml.transform.Source source,
javax.xml.transform.Result result,
java.util.Properties outputProperties)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public java.lang.Boolean toBoolean(org.w3c.dom.NodeList list)
@Converter public BytesSource toBytesSource(byte[] data)
@Converter public StringSource toStringSource(java.lang.String data)
@Deprecated public javax.xml.transform.dom.DOMSource toSource(org.w3c.dom.Document document)
@Deprecated
public javax.xml.transform.Source toSource(org.w3c.dom.Node node)
throws javax.xml.parsers.ParserConfigurationException,
javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionjavax.xml.parsers.ParserConfigurationException@Converter public javax.xml.transform.dom.DOMSource toDOMSource(org.w3c.dom.Node node) throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionjavax.xml.parsers.ParserConfigurationException@Converter public javax.xml.transform.dom.DOMSource toDOMSource(org.w3c.dom.Document document)
@Converter public javax.xml.transform.Source toSource(java.lang.String data)
@Deprecated
public java.lang.String toString(javax.xml.transform.Source source)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public java.lang.String toString(javax.xml.transform.Source source, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public byte[] toByteArray(javax.xml.transform.Source source, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Deprecated
public java.lang.String toString(org.w3c.dom.Node node)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public java.lang.String toString(org.w3c.dom.Node node, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.dom.DOMSource toDOMSource(javax.xml.transform.Source source) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.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).javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.dom.DOMSource toDOMSource(java.lang.String text) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.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).javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.dom.DOMSource toDOMSource(byte[] bytes) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationException@Deprecated
public javax.xml.transform.sax.SAXSource toSAXSource(java.lang.String source)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.transform.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.sax.SAXSource toSAXSource(java.lang.String source, Exchange exchange) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.stax.StAXSource toStAXSource(java.lang.String source, Exchange exchange) throws javax.xml.stream.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).javax.xml.stream.XMLStreamException@Converter public javax.xml.transform.stax.StAXSource toStAXSource(byte[] in, Exchange exchange) throws javax.xml.stream.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).javax.xml.stream.XMLStreamException@Deprecated
public javax.xml.transform.sax.SAXSource toSAXSource(java.io.InputStream source)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.transform.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.sax.SAXSource toSAXSource(java.io.InputStream source, Exchange exchange) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.sax.SAXSource toSAXSource(byte[] in, Exchange exchange) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.stax.StAXSource toStAXSource(java.io.InputStream source, Exchange exchange) throws javax.xml.stream.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).javax.xml.stream.XMLStreamException@Converter public javax.xml.transform.sax.SAXSource toSAXSource(java.io.File file, Exchange exchange) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.stax.StAXSource toStAXSource(java.io.File file, Exchange exchange) throws java.io.FileNotFoundException, javax.xml.stream.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).java.io.FileNotFoundExceptionjavax.xml.stream.XMLStreamException@Deprecated
public javax.xml.transform.sax.SAXSource toSAXSource(javax.xml.transform.Source source)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.transform.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.sax.SAXSource toSAXSource(javax.xml.transform.Source source, Exchange exchange) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.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).java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Deprecated
public javax.xml.transform.stream.StreamSource toStreamSource(javax.xml.transform.Source source)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSource(javax.xml.transform.Source source, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSource(java.io.InputStream in) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSource(java.io.Reader in) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSource(java.io.File in) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSource(byte[] in, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSource(java.nio.ByteBuffer in, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Deprecated
public javax.xml.transform.stream.StreamSource toStreamSourceFromSAX(javax.xml.transform.sax.SAXSource source)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSourceFromSAX(javax.xml.transform.sax.SAXSource source, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Deprecated
public javax.xml.transform.stream.StreamSource toStreamSourceFromDOM(javax.xml.transform.dom.DOMSource source)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSourceFromDOM(javax.xml.transform.dom.DOMSource source, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.stream.StreamSource toStreamSourceFromStAX(javax.xml.transform.stax.StAXSource source, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.sax.SAXSource toSAXSourceFromStream(javax.xml.transform.stream.StreamSource source)
@Deprecated
public java.io.Reader toReaderFromSource(javax.xml.transform.Source src)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public java.io.Reader toReaderFromSource(javax.xml.transform.Source src, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.dom.DOMSource toDOMSource(java.io.InputStream is) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXException@Converter public javax.xml.transform.dom.DOMSource toDOMSource(java.io.File file) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXException@Converter public javax.xml.transform.dom.DOMSource toDOMSourceFromStream(javax.xml.transform.stream.StreamSource source) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXException@Deprecated
public javax.xml.transform.sax.SAXSource toSAXSourceFromDOM(javax.xml.transform.dom.DOMSource source)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.sax.SAXSource toSAXSourceFromDOM(javax.xml.transform.dom.DOMSource source, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.sax.SAXSource toSAXSourceFromStAX(javax.xml.transform.stax.StAXSource source, Exchange exchange) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public javax.xml.transform.dom.DOMSource toDOMSourceFromSAX(javax.xml.transform.sax.SAXSource source) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationExceptionjavax.xml.transform.TransformerException@Converter public javax.xml.transform.dom.DOMSource toDOMSourceFromStAX(javax.xml.transform.stax.StAXSource source) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationExceptionjavax.xml.transform.TransformerException@Converter public org.w3c.dom.Node toDOMNodeFromSAX(javax.xml.transform.sax.SAXSource source) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter public org.w3c.dom.Node toDOMNodeFromStAX(javax.xml.transform.stax.StAXSource source) throws javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.transform.TransformerException@Converter(allowNull=true) public org.w3c.dom.Node toDOMNodeFromSingleNodeList(org.w3c.dom.NodeList nl)
nl - the NodeList@Converter(allowNull=true) public org.w3c.dom.Document toDOMDocumentFromSingleNodeList(org.w3c.dom.NodeList nl) throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
nl - the NodeListjavax.xml.parsers.ParserConfigurationExceptionjavax.xml.transform.TransformerException@Converter(allowNull=true) public org.w3c.dom.Node toDOMNode(javax.xml.transform.Source source) throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
javax.xml.transform.TransformerExceptionjavax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXException@Converter public org.w3c.dom.Element toDOMElement(javax.xml.transform.Source source) throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
javax.xml.transform.TransformerExceptionjavax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXException@Converter public org.w3c.dom.Element toDOMElement(org.w3c.dom.Node node) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException@Converter public org.w3c.dom.Document toDOMDocument(byte[] data) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
data - is the data to be parsedjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationException@Converter public org.w3c.dom.Document toDOMDocument(java.io.InputStream in) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
InputStream to a DOM documentin - is the data to be parsedjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationException@Converter public org.w3c.dom.Document toDOMDocument(java.io.Reader in) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
InputStream to a DOM documentin - is the data to be parsedjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationException@Converter public org.w3c.dom.Document toDOMDocument(org.xml.sax.InputSource in) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
InputSource to a DOM documentin - is the data to be parsedjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationException@Converter public org.w3c.dom.Document toDOMDocument(java.lang.String text) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
String to a DOM documenttext - is the data to be parsedjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationException@Converter public org.w3c.dom.Document toDOMDocument(java.io.File file) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
File to a DOM documentfile - is the data to be parsedjava.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationException@Converter public org.w3c.dom.Document toDOMDocument(javax.xml.transform.Source source) throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException, java.io.IOException, org.xml.sax.SAXException
javax.xml.transform.TransformerExceptionjavax.xml.parsers.ParserConfigurationExceptionjava.io.IOExceptionorg.xml.sax.SAXException@Converter public org.w3c.dom.Document toDOMDocument(org.w3c.dom.Node node) throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationExceptionjavax.xml.transform.TransformerException@Deprecated
public java.io.InputStream toInputStream(javax.xml.transform.dom.DOMSource source)
throws javax.xml.transform.TransformerException,
java.io.IOException
javax.xml.transform.TransformerExceptionjava.io.IOException@Converter public java.io.InputStream toInputStream(javax.xml.transform.dom.DOMSource source, Exchange exchange) throws javax.xml.transform.TransformerException, java.io.IOException
javax.xml.transform.TransformerExceptionjava.io.IOException@Deprecated
public java.io.InputStream toInputStream(org.w3c.dom.Document dom)
throws javax.xml.transform.TransformerException,
java.io.IOException
javax.xml.transform.TransformerExceptionjava.io.IOException@Converter public java.io.InputStream toInputStream(org.w3c.dom.Document dom, Exchange exchange) throws javax.xml.transform.TransformerException, java.io.IOException
javax.xml.transform.TransformerExceptionjava.io.IOException@Converter public org.xml.sax.InputSource toInputSource(java.io.InputStream is, Exchange exchange)
@Converter public org.xml.sax.InputSource toInputSource(java.io.File file, Exchange exchange) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic javax.xml.parsers.DocumentBuilderFactory getDocumentBuilderFactory()
public void setDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
public javax.xml.transform.TransformerFactory getTransformerFactory()
public void setTransformerFactory(javax.xml.transform.TransformerFactory transformerFactory)
protected void setupFeatures(javax.xml.parsers.DocumentBuilderFactory factory)
public javax.xml.parsers.DocumentBuilderFactory createDocumentBuilderFactory()
public javax.xml.parsers.DocumentBuilder createDocumentBuilder()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationExceptionpublic org.w3c.dom.Document createDocument()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException@Deprecated
public javax.xml.transform.Transformer createTransfomer()
throws javax.xml.transform.TransformerConfigurationException
createTransformer(), will be removed in Camel 3.0javax.xml.transform.TransformerConfigurationExceptionpublic javax.xml.transform.Transformer createTransformer()
throws javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerConfigurationExceptionpublic javax.xml.transform.TransformerFactory createTransformerFactory()
Copyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.