public class XsiNilLoader extends ProxyLoader
Modifier and Type | Class and Description |
---|---|
static class |
XsiNilLoader.Array |
static class |
XsiNilLoader.Single |
expectText
Constructor and Description |
---|
XsiNilLoader(Loader defaultLoader) |
Modifier and Type | Method and Description |
---|---|
Collection<QName> |
getExpectedAttributes()
Returns a set of tag names expected as possible child elements in this context.
|
Collection<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.
|
leaveElement, startElement
childElement, expectText, fireAfterUnmarshal, fireBeforeUnmarshal, handleGenericError, handleGenericException, handleGenericException, handleParseConversionException, reportError, reportError, reportUnexpectedChildElement, text
public XsiNilLoader(Loader defaultLoader)
protected Loader selectLoader(UnmarshallingContext.State state, TagName ea) throws SAXException
ProxyLoader
selectLoader
in class ProxyLoader
SAXException
public Collection<QName> getExpectedChildElements()
Loader
getExpectedChildElements
in class Loader
public Collection<QName> getExpectedAttributes()
Loader
getExpectedAttributes
in class Loader
protected void onNil(UnmarshallingContext.State state) throws SAXException
SAXException
Copyright © 2021 JBoss by Red Hat. All rights reserved.