org.jibx.binding.model
Class AttributeBase
java.lang.Object
org.jibx.binding.model.AttributeBase
- Direct Known Subclasses:
- NameAttributes, NestingAttributes, ObjectAttributes, PropertyAttributes, StringAttributes, StructureAttributes
public abstract class AttributeBase
- extends Object
Base class for all attribute group structures in binding definition model.
This just provides the basic validation hooks.
- Version:
- 1.0
- Author:
- Dennis M. Sosnoski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeBase
public AttributeBase()
prevalidate
public void prevalidate(ValidationContext vctx)
- Prevalidate attribute information. The prevalidation step is used to
check attribute values in isolation, such as the settings for enumerated
values and class file information. This empty base class implementation
should be overridden by each subclass that requires prevalidation
handling.
- Parameters:
vctx - validation context
validate
public void validate(ValidationContext vctx)
- Validate attribute information. The validation step is used for checking
the interactions between attributes, such as references to named elements
and namespace usage. The
prevalidate(org.jibx.binding.model.ValidationContext) method will always be
called for every component in the binding definition before this method
is called for any component. This empty base class implementation should
be overridden by each subclass that requires validation handling.
- Parameters:
vctx - validation context
Copyright © 2005-2011 jibx.org. All Rights Reserved.