org.apache.camel.converter.jaxp
Class StaxConverter

java.lang.Object
  extended by org.apache.camel.converter.jaxp.StaxConverter

@Converter
public class StaxConverter
extends Object

A converter of StAX objects

Version:

Constructor Summary
StaxConverter()
           
 
Method Summary
 XMLEventReader createXMLEventReader(InputStream in)
          Deprecated. will be removed in Camel 3.0. Use the method which has 2 parameters.
 XMLEventReader createXMLEventReader(InputStream in, Exchange exchange)
           
 XMLEventReader createXMLEventReader(Reader in)
           
 XMLEventReader createXMLEventReader(Source in)
           
 XMLEventReader createXMLEventReader(XMLStreamReader in)
           
 XMLEventWriter createXMLEventWriter(OutputStream out, Exchange exchange)
           
 XMLEventWriter createXMLEventWriter(Result result)
           
 XMLEventWriter createXMLEventWriter(Writer writer)
           
 XMLStreamReader createXMLStreamReader(InputStream in)
          Deprecated. will be removed in Camel 3.0. Use the method which has 2 parameters.
 XMLStreamReader createXMLStreamReader(InputStream in, Exchange exchange)
           
 XMLStreamReader createXMLStreamReader(Reader in)
           
 XMLStreamReader createXMLStreamReader(Source in)
           
 XMLStreamWriter createXMLStreamWriter(OutputStream outputStream, Exchange exchange)
           
 XMLStreamWriter createXMLStreamWriter(Result result)
           
 XMLStreamWriter createXMLStreamWriter(Writer writer)
           
 XMLInputFactory getInputFactory()
           
 XMLOutputFactory getOutputFactory()
           
 void setInputFactory(XMLInputFactory inputFactory)
           
 void setOutputFactory(XMLOutputFactory outputFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaxConverter

public StaxConverter()
Method Detail

createXMLEventWriter

@Converter
public XMLEventWriter createXMLEventWriter(OutputStream out,
                                                     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,
                                                       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

@Deprecated
public XMLStreamReader createXMLStreamReader(InputStream in)
                                      throws XMLStreamException
Deprecated. will be removed in Camel 3.0. Use the method which has 2 parameters.

Throws:
XMLStreamException

createXMLStreamReader

@Converter
public XMLStreamReader createXMLStreamReader(InputStream in,
                                                       Exchange exchange)
                                      throws XMLStreamException
Throws:
XMLStreamException

createXMLStreamReader

@Converter
public XMLStreamReader createXMLStreamReader(Reader in)
                                      throws XMLStreamException
Throws:
XMLStreamException

createXMLStreamReader

@Converter
public XMLStreamReader createXMLStreamReader(Source in)
                                      throws XMLStreamException
Throws:
XMLStreamException

createXMLEventReader

@Deprecated
public XMLEventReader createXMLEventReader(InputStream in)
                                    throws XMLStreamException
Deprecated. will be removed in Camel 3.0. Use the method which has 2 parameters.

Throws:
XMLStreamException

createXMLEventReader

@Converter
public XMLEventReader createXMLEventReader(InputStream in,
                                                     Exchange exchange)
                                    throws XMLStreamException
Throws:
XMLStreamException

createXMLEventReader

@Converter
public XMLEventReader createXMLEventReader(Reader in)
                                    throws XMLStreamException
Throws:
XMLStreamException

createXMLEventReader

@Converter
public XMLEventReader createXMLEventReader(XMLStreamReader in)
                                    throws XMLStreamException
Throws:
XMLStreamException

createXMLEventReader

@Converter
public XMLEventReader createXMLEventReader(Source in)
                                    throws XMLStreamException
Throws:
XMLStreamException

getInputFactory

public XMLInputFactory getInputFactory()

setInputFactory

public void setInputFactory(XMLInputFactory inputFactory)

getOutputFactory

public XMLOutputFactory getOutputFactory()

setOutputFactory

public void setOutputFactory(XMLOutputFactory outputFactory)


Apache CAMEL