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
Unmarshaller for schema-type elements.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static StringActual element name used in binding.static final StringArrayEnumeration of allowed attribute names -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck for element present.unmarshal(Object obj, IUnmarshallingContext ictx) Unmarshal instance of element.
-
Field Details
-
ELEMENT_NAME
Actual element name used in binding. -
s_allowedAttributes
Enumeration of allowed attribute names
-
-
Constructor Details
-
SchemaTypeUnmarshaller
public SchemaTypeUnmarshaller()
-
-
Method Details
-
isPresent
Check for element present.- Specified by:
isPresentin interfaceIUnmarshaller- Parameters:
ictx-- Returns:
trueif present,falseif not- Throws:
JiBXException- on error
-
unmarshal
Unmarshal instance of element.- Specified by:
unmarshalin interfaceIUnmarshaller- Parameters:
obj- ignored (new instance always created)ictx-- Returns:
- unmarshalled instance
- Throws:
JiBXException- on error
-