Package org.apache.camel.spi.annotations
Annotation 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 ElementsModifier and TypeRequired ElementDescriptionIn JAXB, when an element is annotated with@XmlAnyElement
, the actual objects used are ofElement
class. -
Optional Element Summary
Optional Elements
-
Element Details
-
names
String[] namesNames of external XML element we expect- Returns:
- Default:
{}
-
namespace
String namespaceXSD namespace of XML elements expected- Returns:
- Default:
""
-
documentElement
String documentElementIn JAXB, when an element is annotated with@XmlAnyElement
, the actual objects used are ofElement
class. These elements should be part of wrappingDocument
and this parameter allows to specify this root element name (innamespace()
).- Returns:
-