Interface StructureLoaderBuilder
- All Known Subinterfaces:
Property<BeanT>
- All Known Implementing Classes:
AttributeProperty
,ValueProperty
StructureLoader
.
TODO: think of a better name.- Author:
- Bhakti Mehta
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildChildElementUnmarshallers
(UnmarshallerChain chain, QNameMap<ChildLoader> handlers) Every Property class has an implementation of buildChildElementUnmarshallers which will fill in the specifiedQNameMap
by elements that are expected by this property.
-
Field Details
-
TEXT_HANDLER
MagicQName
used to store a handler for the text.To support the mixed content model,
StructureLoader
can have at most oneValuePropertyLoader
for processing text found amoung elements. This special text handler is put into theQNameMap
parameter of thebuildChildElementUnmarshallers(com.sun.xml.bind.v2.runtime.property.UnmarshallerChain, com.sun.xml.bind.v2.util.QNameMap<com.sun.xml.bind.v2.runtime.unmarshaller.ChildLoader>)
method by using this magic token as the key. -
CATCH_ALL
MagicQName
used to store a handler for the rest of the elements.To support the wildcard,
StructureLoader
can have at most oneLoader
for processing elements that didn't match any of the named elements. This special text handler is put into theQNameMap
parameter of thebuildChildElementUnmarshallers(com.sun.xml.bind.v2.runtime.property.UnmarshallerChain, com.sun.xml.bind.v2.util.QNameMap<com.sun.xml.bind.v2.runtime.unmarshaller.ChildLoader>)
method by using this magic token as the key.
-
-
Method Details
-
buildChildElementUnmarshallers
Every Property class has an implementation of buildChildElementUnmarshallers which will fill in the specifiedQNameMap
by elements that are expected by this property.
-