org.apache.camel.component.stax
Class StAXBuilder

java.lang.Object
  extended by org.apache.camel.component.stax.StAXBuilder

public final class StAXBuilder
extends Object

Builder for StAX support.


Method Summary
static
<T> org.apache.camel.Expression
stax(Class<T> clazz)
          Creates a StAXJAXBIteratorExpression.
static
<T> org.apache.camel.Expression
stax(Class<T> clazz, boolean isNamespaceAware)
          Creates a StAXJAXBIteratorExpression.
static
<T> org.apache.camel.Expression
stax(String clazzName)
          Creates a StAXJAXBIteratorExpression.
static
<T> org.apache.camel.Expression
stax(String clazzName, boolean isNamespaceAware)
          Creates a StAXJAXBIteratorExpression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

stax

public static <T> org.apache.camel.Expression stax(Class<T> clazz)
Creates a StAXJAXBIteratorExpression.

Parameters:
clazz - the class which has JAXB annotations to bind POJO.

stax

public static <T> org.apache.camel.Expression stax(String clazzName)
Creates a StAXJAXBIteratorExpression.

Parameters:
clazzName - the FQN name of the class which has JAXB annotations to bind POJO.

stax

public static <T> org.apache.camel.Expression stax(Class<T> clazz,
                                                   boolean isNamespaceAware)
Creates a StAXJAXBIteratorExpression.

Parameters:
clazz - the class which has JAXB annotations to bind POJO.
isNamespaceAware - sets the namespace awareness of the xml reader

stax

public static <T> org.apache.camel.Expression stax(String clazzName,
                                                   boolean isNamespaceAware)
Creates a StAXJAXBIteratorExpression.

Parameters:
clazzName - the FQN name of the class which has JAXB annotations to bind POJO.
isNamespaceAware - sets the namespace awareness of the xml reader


Apache Camel