Package org.jibx.schema.attributes
Class DefRefAttributeGroup
- java.lang.Object
-
- org.jibx.schema.attributes.AttributeBase
-
- org.jibx.schema.attributes.DefRefAttributeGroup
-
- All Implemented Interfaces:
IComponent
public class DefRefAttributeGroup extends AttributeBase
Schema defRef attribute group.- Author:
- Dennis M. Sosnoski
-
-
Field Summary
Fields Modifier and Type Field Description static org.jibx.util.StringArrays_allowedAttributesList of allowed attribute names.-
Fields inherited from interface org.jibx.schema.IComponent
SCHEMA_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description DefRefAttributeGroup(SchemaBase owner)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get 'name' attribute value.org.jibx.runtime.QNamegetRef()Get 'ref' attribute value.voidprevalidate(ValidationContext vctx)Prevalidate component information.voidsetName(String name)Set 'name' attribute value.voidsetRef(org.jibx.runtime.QName ref)Set 'ref' attribute value.-
Methods inherited from class org.jibx.schema.attributes.AttributeBase
getOwner, validate
-
-
-
-
Constructor Detail
-
DefRefAttributeGroup
public DefRefAttributeGroup(SchemaBase owner)
Constructor.- Parameters:
owner- owning element
-
-
Method Detail
-
getName
public String getName()
Get 'name' attribute value.- Returns:
- name
-
setName
public void setName(String name)
Set 'name' attribute value.- Parameters:
name- Name
-
getRef
public org.jibx.runtime.QName getRef()
Get 'ref' attribute value.- Returns:
- ref
-
setRef
public void setRef(org.jibx.runtime.QName ref)
Set 'ref' attribute value.- Parameters:
ref- Reference attribute
-
prevalidate
public void prevalidate(ValidationContext vctx)
Description copied from class:AttributeBasePrevalidate 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:
prevalidatein interfaceIComponent- Overrides:
prevalidatein classAttributeBase- Parameters:
vctx- validation context
-
-