XsiNilLoader.Array
, XsiNilLoader.Single
public class XsiNilLoader extends ProxyLoader
Modifier and Type | Class | Description |
---|---|---|
static class |
XsiNilLoader.Array |
|
static class |
XsiNilLoader.Single |
expectText
Constructor | Description |
---|---|
XsiNilLoader(Loader defaultLoader) |
Modifier and Type | Method | Description |
---|---|---|
java.util.Collection<javax.xml.namespace.QName> |
getExpectedAttributes() |
Returns a set of tag names expected as possible child elements in this context.
|
java.util.Collection<javax.xml.namespace.QName> |
getExpectedChildElements() |
Returns a set of tag names expected as possible child elements in this context.
|
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.
|
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, reportError, reportError, reportUnexpectedChildElement, text
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
leaveElement, startElement
public XsiNilLoader(Loader defaultLoader)
protected Loader selectLoader(UnmarshallingContext.State state, TagName ea) throws org.xml.sax.SAXException
ProxyLoader
selectLoader
in class ProxyLoader
org.xml.sax.SAXException
public java.util.Collection<javax.xml.namespace.QName> getExpectedChildElements()
Loader
getExpectedChildElements
in class Loader
public java.util.Collection<javax.xml.namespace.QName> getExpectedAttributes()
Loader
getExpectedAttributes
in class Loader
protected void onNil(UnmarshallingContext.State state) throws org.xml.sax.SAXException
org.xml.sax.SAXException
Copyright © 2018 Oracle Corporation. All rights reserved.