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 TypeMethodDescriptionvoidbuildChildElementUnmarshallers(UnmarshallerChain chain, QNameMap<ChildLoader> handlers) Every Property class has an implementation of buildChildElementUnmarshallers which will fill in the specifiedQNameMapby elements that are expected by this property.
-
Field Details
-
TEXT_HANDLER
MagicQNameused to store a handler for the text.To support the mixed content model,
StructureLoadercan have at most oneValuePropertyLoaderfor processing text found amoung elements. This special text handler is put into theQNameMapparameter 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
MagicQNameused to store a handler for the rest of the elements.To support the wildcard,
StructureLoadercan have at most oneLoaderfor processing elements that didn't match any of the named elements. This special text handler is put into theQNameMapparameter 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 specifiedQNameMapby elements that are expected by this property.
-