|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A schema that can be used to validate an XML document. A single Schema
object
is safe for concurrent access by multiple threads.
AbstractSchema
,
SchemaFactory
Method Summary | |
ValidatorHandler |
createValidator()
Creates a new ValidatorHandler that validates XML documents against this
schema. |
ValidatorHandler |
createValidator(ErrorHandler eh)
Creates a new ValidatorHandler that validates XML documents against this
schema. |
Method Detail |
public ValidatorHandler createValidator(ErrorHandler eh)
ValidatorHandler
that validates XML documents against this
schema. The ValidatorHandler
will report errors using the specified
ErrorHandler
. The ErrorHandler
of the created
ValidatorHandler
may be changed at any time using setErrorHandler
.
eh
- the ErrorHandler
to be used by the ValidatorHandler
for reporting errors; null
if errors should not be reported
ValidatorHandler
that can be used to validate an XML document
against this schema; never null
public ValidatorHandler createValidator()
ValidatorHandler
that validates XML documents against this
schema. The ValidatorHandler
will have a null
ErrorHandler
,
which may be changed at any time using setErrorHandler
.
ValidatorHandler
that can be used to validate an XML document
against this schema; never null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |