com.sun.xml.bind.v2.runtime.unmarshaller
public final class StructureLoader extends Loader
This loader works with a single JaxBeanInfo and handles attributes, child elements, or child text.
Constructor Summary | |
---|---|
StructureLoader(ClassBeanInfoImpl beanInfo) |
Method Summary | |
---|---|
void | childElement(UnmarshallingContext.State state, TagName arg) |
JaxBeanInfo | getBeanInfo() |
Collection<QName> | getExpectedAttributes() |
Collection<QName> | getExpectedChildElements() |
void | init(JAXBContextImpl context, ClassBeanInfoImpl beanInfo, Accessor<?,Map<QName,String>> attWildcard)
Completes the initialization.
|
void | leaveElement(UnmarshallingContext.State state, TagName ea) |
void | startElement(UnmarshallingContext.State state, TagName ea) |
void | text(UnmarshallingContext.State state, CharSequence text) |
To fix the cyclic reference issue, the main part of the initialization needs to be done after a StructureLoader is set to loader.