public interface IComponent
prevalidate(ValidationContext)
method will always be called for every component in the schema definition
before the validate(ValidationContext)
method is called for any component. These two methods represent the
beginning and end phases of the validation process - other steps (such as registration) may be handled in between
these two phases.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SCHEMA_NAMESPACE
Schema namespace URI.
|
Modifier and Type | Method and Description |
---|---|
void |
prevalidate(ValidationContext vctx)
Prevalidate component information.
|
void |
validate(ValidationContext vctx)
Validate component information.
|
static final java.lang.String SCHEMA_NAMESPACE
void prevalidate(ValidationContext vctx)
vctx
- validation contextvoid validate(ValidationContext vctx)
prevalidate(ValidationContext)
method will always be called for every component in the schema definition before
this method is called for any component.vctx
- validation context