Class StAXBuilder

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

public final class StAXBuilder extends Object
Builder for StAX support.
  • Method Details

    • stax

      public static <T> org.apache.camel.Expression stax(Class<T> clazz)
      Parameters:
      clazz - the class which has JAXB annotations to bind POJO.
    • stax

      public static <T> org.apache.camel.Expression stax(String clazzName)
      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)
      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)
      Parameters:
      clazzName - the FQN name of the class which has JAXB annotations to bind POJO.
      isNamespaceAware - sets the namespace awareness of the xml reader