Constructor and Description |
---|
CombineValidator(Validator v1,
Validator v2) |
Modifier and Type | Method and Description |
---|---|
ContentHandler |
getContentHandler()
Returns the ContentHandler that will receive the XML document.
|
DTDHandler |
getDTDHandler()
Returns a DTDHandler.
|
void |
reset()
Cleans up after validating a document.
|
public void reset()
Validator
reset
must be called. After calling
reset(), another document may be validated. Calling this method
may create new ContentHandler and DTDHandler objects or may simply
reinitialize the state of the existing objects.public ContentHandler getContentHandler()
Validator
reset
is called.getContentHandler
in interface Validator
null
Validator.reset()
public DTDHandler getDTDHandler()
Validator
null
is returned. The same object will always be returned unless
reset
is called: this method does not change the state
of the Validator.getDTDHandler
in interface Validator
null
if DTD information is
not significant to the Validator