IComponent
DefRefAttributeGroup
, FormChoiceAttribute
, OccursAttributeGroup
, TypeAttribute
public class AttributeBase extends java.lang.Object implements IComponent
Modifier and Type | Field | Description |
---|---|---|
private SchemaBase |
m_owner |
Owning element.
|
SCHEMA_NAMESPACE
Modifier | Constructor | Description |
---|---|---|
protected |
AttributeBase(SchemaBase owner) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
SchemaBase |
getOwner() |
Get owning element.
|
void |
prevalidate(ValidationContext vctx) |
Prevalidate component information.
|
void |
validate(ValidationContext vctx) |
Validate component information.
|
private final SchemaBase m_owner
protected AttributeBase(SchemaBase owner)
owner
- owning elementpublic 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