Top Description Fields Methods
org.glassfish.jaxb.runtime.v2.runtime.property

public Interface StructureLoaderBuilder

Known Direct Subinterfaces
org.glassfish.jaxb.runtime.v2.runtime.property.Property
Imports
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.ChildLoader, .Loader, .StructureLoader, .ValuePropertyLoader, org.glassfish.jaxb.runtime.v2.util.QNameMap, javax.xml.namespace.QName

Component that contributes element unmarshallers into StructureLoader.

Todo

think of a better name.

Author
Bhakti Mehta

Field Summary

Modifier and TypeField and Description
public static final QName
CATCH_ALL

Magic QName used to store a handler for the rest of the elements.

public static final QName
TEXT_HANDLER

Magic QName used to store a handler for the text.

Method Summary

Modifier and TypeMethod and Description
public 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.

Field Detail

CATCH_ALLback to summary
public static final QName CATCH_ALL

Magic 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 method by using this magic token as the key.

TEXT_HANDLERback to summary
public static final QName TEXT_HANDLER

Magic 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 method by using this magic token as the key.

Method Detail

buildChildElementUnmarshallersback to summary
public 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.