Package org.apache.camel.converter.jaxp
Class StaxConverter
- java.lang.Object
-
- org.apache.camel.converter.jaxp.StaxConverter
-
@Converter(generateLoader=true) public class StaxConverter extends Object
A converter of StAX objects
-
-
Constructor Summary
Constructors Constructor Description StaxConverter()
-
Method Summary
-
-
-
Method Detail
-
createXMLEventWriter
@Converter public XMLEventWriter createXMLEventWriter(OutputStream out, org.apache.camel.Exchange exchange) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventWriter
@Converter public XMLEventWriter createXMLEventWriter(Writer writer) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventWriter
@Converter public XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamWriter
@Converter public XMLStreamWriter createXMLStreamWriter(OutputStream outputStream, org.apache.camel.Exchange exchange) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamWriter
@Converter public XMLStreamWriter createXMLStreamWriter(Writer writer) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamWriter
@Converter public XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamReader
@Converter public XMLStreamReader createXMLStreamReader(InputStream in, org.apache.camel.Exchange exchange) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamReader
@Converter public XMLStreamReader createXMLStreamReader(File file, org.apache.camel.Exchange exchange) throws XMLStreamException, FileNotFoundException
-
createXMLStreamReader
@Converter public XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamReader
@Converter public XMLStreamReader createXMLStreamReader(Source in) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLStreamReader
@Converter public XMLStreamReader createXMLStreamReader(String string) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventReader
@Converter public XMLEventReader createXMLEventReader(InputStream in, org.apache.camel.Exchange exchange) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventReader
@Converter public XMLEventReader createXMLEventReader(File file, org.apache.camel.Exchange exchange) throws XMLStreamException, FileNotFoundException
-
createXMLEventReader
@Converter public XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventReader
@Converter public XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
createXMLEventReader
@Converter public XMLEventReader createXMLEventReader(Source in) throws XMLStreamException
- Throws:
XMLStreamException
-
createInputStream
@Converter public InputStream createInputStream(XMLStreamReader reader, org.apache.camel.Exchange exchange)
-
createReader
@Converter public Reader createReader(XMLStreamReader reader, org.apache.camel.Exchange exchange)
-
createXMLInputFactory
public static XMLInputFactory createXMLInputFactory(boolean nsAware)
-
getInputFactory
public XMLInputFactory getInputFactory()
-
getOutputFactory
public XMLOutputFactory getOutputFactory()
-
setInputFactory
public void setInputFactory(XMLInputFactory inputFactory)
-
setOutputFactory
public void setOutputFactory(XMLOutputFactory outputFactory)
-
-