public interface StructureLoaderBuilder
StructureLoader
.
TODO: think of a better name.Modifier and Type | Field and Description |
---|---|
static QName |
CATCH_ALL
Magic
QName used to store a handler for the rest of the elements. |
static QName |
TEXT_HANDLER
Magic
QName used to store a handler for the text. |
Modifier and Type | Method and Description |
---|---|
void |
buildChildElementUnmarshallers(UnmarshallerChain chain,
QNameMap<ChildLoader> handlers)
Every Property class has an implementation of buildChildElementUnmarshallers
which will fill in the specified
QNameMap by elements that are expected
by this property. |
static final QName TEXT_HANDLER
QName
used to store a handler for the text.
To support the mixed content model, StructureLoader
can have
at most one ValuePropertyLoader
for processing text
found amoung elements.
This special text handler is put into the QNameMap
parameter
of the buildChildElementUnmarshallers(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.
static final QName CATCH_ALL
QName
used to store a handler for the rest of the elements.
To support the wildcard, StructureLoader
can have
at most one Loader
for processing elements
that didn't match any of the named elements.
This special text handler is put into the QNameMap
parameter
of the buildChildElementUnmarshallers(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.
void buildChildElementUnmarshallers(UnmarshallerChain chain, QNameMap<ChildLoader> handlers)
QNameMap
by elements that are expected
by this property.Copyright © 2020 JBoss by Red Hat. All rights reserved.