public class ComponentCustomUnmarshaller extends java.lang.Object implements IUnmarshaller
Modifier and Type | Field and Description |
---|---|
static StringArray |
s_baseAttributes
Attribute names allowed for all types of components.
|
private static long |
s_deletableLeafMask
Mask for elements which are deletable but do not support nesting.
|
static StringArray |
s_ignorableAttributes
Attribute names allowed for all excludable components.
|
static StringArray |
s_namedIgnorableValueAttributes
Allowed attribute names for customizing elements with values and names.
|
private static long |
s_namedIgnorableValueMask
Mask for elements with names which can be ignored.
|
static StringArray |
s_namedValueAttributes
Allowed attribute names for customizing elements with values and names.
|
private static long |
s_namedValueMask
Mask for elements with values and names.
|
private static long |
s_simpleNestingMask
Mask for elements which are not deletable but do support nesting.
|
static StringArray |
s_typeDefinitionAttributes
Allowed attribute names for type definition elements.
|
private static long |
s_typeDefinitionMask
Mask for type definition elements.
|
static StringArray |
s_unnamedValueAttributes
Allowed attribute names for customizing elements with values but no names.
|
private static long |
s_unnamedValueMask
Mask for elements with values but no names.
|
Constructor and Description |
---|
ComponentCustomUnmarshaller() |
Modifier and Type | Method and Description |
---|---|
boolean |
isPresent(IUnmarshallingContext ctx)
Check if element present.
|
java.lang.Object |
unmarshal(java.lang.Object obj,
IUnmarshallingContext ictx)
Unmarshal the element.
|
public static final StringArray s_baseAttributes
public static final StringArray s_ignorableAttributes
private static final long s_unnamedValueMask
public static final StringArray s_unnamedValueAttributes
private static final long s_namedValueMask
public static final StringArray s_namedValueAttributes
private static final long s_namedIgnorableValueMask
public static final StringArray s_namedIgnorableValueAttributes
private static final long s_typeDefinitionMask
public static final StringArray s_typeDefinitionAttributes
private static final long s_simpleNestingMask
private static final long s_deletableLeafMask
public boolean isPresent(IUnmarshallingContext ctx) throws JiBXException
isPresent
in interface IUnmarshaller
ctx
- true
if at a start tagJiBXException
public java.lang.Object unmarshal(java.lang.Object obj, IUnmarshallingContext ictx) throws JiBXException
unmarshal
in interface IUnmarshaller
obj
- ignoredictx
- unmarshalling contextJiBXException
- on error in document