Package org.jibx.schema.codegen.custom
Class SchemaRootBase.SchemaTypeUnmarshaller
- java.lang.Object
-
- org.jibx.schema.codegen.custom.SchemaRootBase.SchemaTypeUnmarshaller
-
- All Implemented Interfaces:
IUnmarshaller
- Enclosing class:
- SchemaRootBase
public static class SchemaRootBase.SchemaTypeUnmarshaller extends java.lang.Object implements IUnmarshaller
Unmarshaller for schema-type elements.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringELEMENT_NAMEActual element name used in binding.static StringArrays_allowedAttributesEnumeration of allowed attribute names
-
Constructor Summary
Constructors Constructor Description SchemaTypeUnmarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPresent(IUnmarshallingContext ictx)Check for element present.java.lang.Objectunmarshal(java.lang.Object obj, IUnmarshallingContext ictx)Unmarshal instance of element.
-
-
-
Field Detail
-
ELEMENT_NAME
private static java.lang.String ELEMENT_NAME
Actual element name used in binding.
-
s_allowedAttributes
public static final StringArray s_allowedAttributes
Enumeration of allowed attribute names
-
-
Method Detail
-
isPresent
public boolean isPresent(IUnmarshallingContext ictx) throws JiBXException
Check for element present.- Specified by:
isPresentin interfaceIUnmarshaller- Parameters:
ictx-- Returns:
trueif present,falseif not- Throws:
JiBXException- on error
-
unmarshal
public java.lang.Object unmarshal(java.lang.Object obj, IUnmarshallingContext ictx) throws JiBXExceptionUnmarshal instance of element.- Specified by:
unmarshalin interfaceIUnmarshaller- Parameters:
obj- ignored (new instance always created)ictx-- Returns:
- unmarshalled instance
- Throws:
JiBXException- on error
-
-