Package org.apache.camel.component.stax
Class StAXBuilder
- java.lang.Object
-
- org.apache.camel.component.stax.StAXBuilder
-
public final class StAXBuilder extends Object
Builder for StAX support.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> org.apache.camel.Expressionstax(Class<T> clazz)Creates aStAXJAXBIteratorExpression.static <T> org.apache.camel.Expressionstax(Class<T> clazz, boolean isNamespaceAware)Creates aStAXJAXBIteratorExpression.static <T> org.apache.camel.Expressionstax(String clazzName)Creates aStAXJAXBIteratorExpression.static <T> org.apache.camel.Expressionstax(String clazzName, boolean isNamespaceAware)Creates aStAXJAXBIteratorExpression.
-
-
-
Method Detail
-
stax
public static <T> org.apache.camel.Expression stax(Class<T> clazz)
Creates aStAXJAXBIteratorExpression.- Parameters:
clazz- the class which has JAXB annotations to bind POJO.
-
stax
public static <T> org.apache.camel.Expression stax(String clazzName)
Creates aStAXJAXBIteratorExpression.- 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 aStAXJAXBIteratorExpression.- 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 aStAXJAXBIteratorExpression.- Parameters:
clazzName- the FQN name of the class which has JAXB annotations to bind POJO.isNamespaceAware- sets the namespace awareness of the xml reader
-
-