Annotation Interface XMLSchema
Annotation for use with XML schemas. Only the root element name is required.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionThe root element name (required). -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Set to true (the default) to look up or create event types representing fragments of an XML document automatically upon request for fragment event type information; Or false when only explicit properties may return fragments.The default namespaceboolean
Set to true (the default) to indicate that anEventSender
returned for this event type validates the root document element name against the one configured (the default), or false to not validate the root document element name as configured.The root element namespaceThe schema resource URLThe schema textSets the class name of the XPath function resolver to be assigned to the XPath factory instance upon type initialization.boolean
Set to false (the default) to indicate that property expressions are evaluated by the DOM-walker implementation (the default), or set to true to indicate that property expressions are rewritten into XPath expressions.boolean
When set to true (the default), indicates that when properties are compiled to XPath expressions that the compilation should generate an absolute XPath expression such as "/getQuote/request" for the simple request property, or "/getQuote/request/symbol" for a "request.symbol" nested property, wherein the root element node is "getQuote".Sets the class name of the XPath variable resolver to be assigned to the XPath factory instance upon type initialization.
-
Element Details
-
rootElementName
String rootElementNameThe root element name (required).- Returns:
- root element name
-
-
-
schemaResource
String schemaResourceThe schema resource URL- Returns:
- url
- Default:
- ""
-
schemaText
String schemaTextThe schema text- Returns:
- schema
- Default:
- ""
-
xpathPropertyExpr
boolean xpathPropertyExprSet to false (the default) to indicate that property expressions are evaluated by the DOM-walker implementation (the default), or set to true to indicate that property expressions are rewritten into XPath expressions.- Returns:
- xpath property use
- Default:
- false
-
xpathResolvePropertiesAbsolute
boolean xpathResolvePropertiesAbsoluteWhen set to true (the default), indicates that when properties are compiled to XPath expressions that the compilation should generate an absolute XPath expression such as "/getQuote/request" for the simple request property, or "/getQuote/request/symbol" for a "request.symbol" nested property, wherein the root element node is "getQuote".When set to false, indicates that when properties are compiled to XPath expressions that the compilation should generate a deep XPath expression such as "//symbol" for the simple symbol property, or "//request/symbol" for a "request.symbol" nested property.
- Returns:
- xpath resolve properties absolute flag
- Default:
- true
-
defaultNamespace
String defaultNamespaceThe default namespace- Returns:
- default namespace
- Default:
- ""
-
rootElementNamespace
String rootElementNamespaceThe root element namespace- Returns:
- root element namespace
- Default:
- ""
-
eventSenderValidatesRoot
boolean eventSenderValidatesRootSet to true (the default) to indicate that anEventSender
returned for this event type validates the root document element name against the one configured (the default), or false to not validate the root document element name as configured.- Returns:
- flag
- Default:
- true
-
autoFragment
boolean autoFragmentSet to true (the default) to look up or create event types representing fragments of an XML document automatically upon request for fragment event type information; Or false when only explicit properties may return fragments.- Returns:
- flag
- Default:
- true
-
xpathFunctionResolver
String xpathFunctionResolverSets the class name of the XPath function resolver to be assigned to the XPath factory instance upon type initialization.- Returns:
- class name
- Default:
- ""
-
xpathVariableResolver
String xpathVariableResolverSets the class name of the XPath variable resolver to be assigned to the XPath factory instance upon type initialization.- Returns:
- class name
- Default:
- ""
-