public final class StAXBuilder extends Object
Modifier and Type | Method and Description |
---|---|
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 . |
public static <T> org.apache.camel.Expression stax(Class<T> clazz)
StAXJAXBIteratorExpression
.clazz
- the class which has JAXB annotations to bind POJO.public static <T> org.apache.camel.Expression stax(String clazzName)
StAXJAXBIteratorExpression
.clazzName
- the FQN name of the class which has JAXB annotations to bind POJO.public static <T> org.apache.camel.Expression stax(Class<T> clazz, boolean isNamespaceAware)
StAXJAXBIteratorExpression
.clazz
- the class which has JAXB annotations to bind POJO.isNamespaceAware
- sets the namespace awareness of the xml readerpublic static <T> org.apache.camel.Expression stax(String clazzName, boolean isNamespaceAware)
StAXJAXBIteratorExpression
.clazzName
- the FQN name of the class which has JAXB annotations to bind POJO.isNamespaceAware
- sets the namespace awareness of the xml readerApache Camel