|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.runtime.unmarshaller.Loader
com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader
com.sun.xml.bind.v2.runtime.unmarshaller.XsiNilLoader
public class XsiNilLoader
Looks for xsi:nil='true' and sets the target to null. Otherwise delegate to another handler.
Nested Class Summary | |
---|---|
static class |
XsiNilLoader.Array
|
static class |
XsiNilLoader.Single
|
Field Summary |
---|
Fields inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader |
---|
expectText |
Constructor Summary | |
---|---|
XsiNilLoader(Loader defaultLoader)
|
Method Summary | |
---|---|
protected void |
onNil(UnmarshallingContext.State state)
Called when xsi:nil='true' was found. |
protected Loader |
selectLoader(UnmarshallingContext.State state,
TagName ea)
Picks the loader to delegate to. |
Methods inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader |
---|
leaveElement, startElement |
Methods inherited from class com.sun.xml.bind.v2.runtime.unmarshaller.Loader |
---|
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, getExpectedChildElements, handleGenericException, handleGenericException, handleParseConversionException, reportError, reportError, reportUnexpectedChildElement, text |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XsiNilLoader(Loader defaultLoader)
Method Detail |
---|
protected Loader selectLoader(UnmarshallingContext.State state, TagName ea) throws org.xml.sax.SAXException
ProxyLoader
selectLoader
in class ProxyLoader
org.xml.sax.SAXException
protected void onNil(UnmarshallingContext.State state) throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |