Package org.jibx.schema.attributes
Class TypeAttribute
java.lang.Object
org.jibx.schema.attributes.AttributeBase
org.jibx.schema.attributes.TypeAttribute
- All Implemented Interfaces:
IComponent
Global type reference as an attribute.
- Author:
- Dennis M. Sosnoski
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate QName
Qualified name of type.static final StringArray
List of allowed attribute names.Fields inherited from interface org.jibx.schema.IComponent
SCHEMA_NAMESPACE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Get type qualified name.void
Set type qualified name.private static TypeAttribute
Factory method for use during unmarshalling.Methods inherited from class org.jibx.schema.attributes.AttributeBase
getOwner, prevalidate, validate
-
Field Details
-
s_allowedAttributes
List of allowed attribute names. -
m_qname
Qualified name of type.
-
-
Constructor Details
-
TypeAttribute
Constructor.- Parameters:
owner
- owning element
-
-
Method Details
-
unmarshalFactory
Factory method for use during unmarshalling. This gets the owning element from the unmarshalling context, and creates an instance of the attribute tied to that element.- Parameters:
ictx
-- Returns:
- constructed instance
-
getType
Get type qualified name.- Returns:
- type qualified name
-
setType
Set type qualified name.- Parameters:
qname
- type qualified name
-