Package org.jibx.schema.attributes
Class DefRefAttributeGroup
java.lang.Object
org.jibx.schema.attributes.AttributeBase
org.jibx.schema.attributes.DefRefAttributeGroup
- All Implemented Interfaces:
IComponent
Schema defRef attribute group.
- Author:
- Dennis M. Sosnoski
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Name definition.private QName
Reference definition.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 TypeMethodDescriptiongetName()
Get 'name' attribute value.getRef()
Get 'ref' attribute value.void
prevalidate
(ValidationContext vctx) Prevalidate component information.void
Set 'name' attribute value.void
Set 'ref' attribute value.private static DefRefAttributeGroup
Factory method for use during unmarshalling.Methods inherited from class org.jibx.schema.attributes.AttributeBase
getOwner, validate
-
Field Details
-
s_allowedAttributes
List of allowed attribute names. -
m_name
Name definition. -
m_ref
Reference definition.
-
-
Constructor Details
-
DefRefAttributeGroup
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
-
getName
Get 'name' attribute value.- Returns:
- name
-
setName
Set 'name' attribute value.- Parameters:
name
-
-
getRef
Get 'ref' attribute value.- Returns:
- ref
-
setRef
Set 'ref' attribute value.- Parameters:
ref
-
-
prevalidate
Description copied from class:AttributeBase
Prevalidate component information. The prevalidation step is used to check isolated aspects of a component, such as the settings for enumerated values. This empty base class implementation should be overridden by each subclass that requires prevalidation handling.- Specified by:
prevalidate
in interfaceIComponent
- Overrides:
prevalidate
in classAttributeBase
- Parameters:
vctx
- validation context
-