Interface StructureLoaderBuilder
-
- All Known Subinterfaces:
Property<BeanT>
- All Known Implementing Classes:
AttributeProperty
,ValueProperty
public interface StructureLoaderBuilder
Component 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 void
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 Detail
-
TEXT_HANDLER
static final QName 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(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
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(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 specifiedQNameMap
by elements that are expected by this property.
-
-