Annotation Interface ExternalSchemaElement


@Retention(RUNTIME) @Documented @Target({METHOD,FIELD}) public @interface ExternalSchemaElement
Annotation to be used for JAXB property (field or method) annotated with @XmlAnyElement to highlight which actual elements do we expect (not to be enforced by JAXB, but by Camel itself).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    In JAXB, when an element is annotated with @XmlAnyElement, the actual objects used are of Element class.
    In JAXB, when an element is annotated with @XmlAnyElement, the actual objects used are of Element class.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Names of external XML element we expect
    Names of external XML element we expect
    XSD namespace of XML elements expected
    XSD namespace of XML elements expected
  • Element Details

    • names

      String[] names
      Names of external XML element we expect
      Default:
      {}
    • names2

      String[] names2
      Names of external XML element we expect
      Default:
      {}
    • namespace

      String namespace
      XSD namespace of XML elements expected
      Default:
      ""
    • namespace2

      String namespace2
      XSD namespace of XML elements expected
      Default:
      ""
    • documentElement

      String documentElement
      In JAXB, when an element is annotated with @XmlAnyElement, the actual objects used are of Element class. These elements should be part of wrapping Document and this parameter allows to specify this root element name (in namespace()).
    • documentElement2

      String documentElement2
      In JAXB, when an element is annotated with @XmlAnyElement, the actual objects used are of Element class. These elements should be part of wrapping Document and this parameter allows to specify this root element name (in namespace2()).