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 String
Actual element name used in binding.static final StringArray
Enumeration of allowed attribute names -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check 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:
isPresent
in interfaceIUnmarshaller
- Parameters:
ictx
-- Returns:
true
if present,false
if not- Throws:
JiBXException
- on error
-
unmarshal
Unmarshal instance of element.- Specified by:
unmarshal
in interfaceIUnmarshaller
- Parameters:
obj
- ignored (new instance always created)ictx
-- Returns:
- unmarshalled instance
- Throws:
JiBXException
- on error
-