Package org.jibx.schema.attributes
Class OccursAttributeGroup
- java.lang.Object
-
- org.jibx.schema.attributes.AttributeBase
-
- org.jibx.schema.attributes.OccursAttributeGroup
-
- All Implemented Interfaces:
IComponent
public class OccursAttributeGroup extends AttributeBase
Schema occurs 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 OccursAttributeGroup(SchemaBase owner)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CountgetMaxOccurs()Get 'maxOccurs' attribute value.CountgetMinOccurs()Get 'minOccurs' attribute value.voidprevalidate(ValidationContext vctx)Prevalidate component information.voidsetMaxOccurs(Count count)Set 'maxOccurs' attribute value.voidsetMinOccurs(Count count)Set 'minOccurs' attribute value.-
Methods inherited from class org.jibx.schema.attributes.AttributeBase
getOwner, validate
-
-
-
-
Constructor Detail
-
OccursAttributeGroup
public OccursAttributeGroup(SchemaBase owner)
Constructor.- Parameters:
owner- owning element
-
-
Method Detail
-
getMaxOccurs
public Count getMaxOccurs()
Get 'maxOccurs' attribute value.- Returns:
- count (
nullif not set)
-
setMaxOccurs
public void setMaxOccurs(Count count)
Set 'maxOccurs' attribute value.- Parameters:
count- (nullif unsetting)
-
getMinOccurs
public Count getMinOccurs()
Get 'minOccurs' attribute value.- Returns:
- minimum count (
nullif not set)
-
setMinOccurs
public void setMinOccurs(Count count)
Set 'minOccurs' attribute value.- Parameters:
count- (nullif unsetting)
-
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
-
-