|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.schema.attributes.AttributeBase
public class AttributeBase
Base class for schema attributes and attribute groups. This just provides a link to the owning element, along with dummy implementations of the validation methods.
Field Summary | |
---|---|
private SchemaBase |
m_owner
Owning element. |
Fields inherited from interface org.jibx.schema.IComponent |
---|
SCHEMA_NAMESPACE |
Constructor Summary | |
---|---|
protected |
AttributeBase(SchemaBase owner)
Constructor. |
Method Summary | |
---|---|
SchemaBase |
getOwner()
Get owning element. |
void |
prevalidate(ValidationContext vctx)
Prevalidate component information. |
void |
validate(ValidationContext vctx)
Validate component information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final SchemaBase m_owner
Constructor Detail |
---|
protected AttributeBase(SchemaBase owner)
owner
- owning elementMethod Detail |
---|
public final SchemaBase getOwner()
null
)public void prevalidate(ValidationContext vctx)
prevalidate
in interface IComponent
vctx
- validation contextpublic void validate(ValidationContext vctx)
prevalidate(org.jibx.schema.validation.ValidationContext)
method will always be called for
every component in the schema definition before this method is called for
any component. This empty base class implementation should be overridden
by each subclass that requires validation handling.
validate
in interface IComponent
vctx
- validation context
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |