Interface StructureLoaderBuilder
-
- All Known Subinterfaces:
Property<BeanT>
- All Known Implementing Classes:
AttributeProperty,ValueProperty
public interface StructureLoaderBuilderComponent that contributes element unmarshallers intoStructureLoader. TODO: think of a better name.- Author:
- Bhakti Mehta
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuildChildElementUnmarshallers(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 Detail
-
TEXT_HANDLER
static final QName 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(org.glassfish.jaxb.runtime.v2.runtime.property.UnmarshallerChain, org.glassfish.jaxb.runtime.v2.util.QNameMap<org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.ChildLoader>)method by using this magic token as the key.
-
CATCH_ALL
static final QName 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(org.glassfish.jaxb.runtime.v2.runtime.property.UnmarshallerChain, org.glassfish.jaxb.runtime.v2.util.QNameMap<org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.ChildLoader>)method by using this magic token as the key.
-
-
Method Detail
-
buildChildElementUnmarshallers
void buildChildElementUnmarshallers(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.
-
-