|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thaiopensource.relaxng.impl.CombineValidator
Constructor Summary | |
---|---|
CombineValidator(Validator v1,
Validator v2)
|
Method Summary | |
---|---|
org.xml.sax.ContentHandler |
getContentHandler()
Returns the ContentHandler that will receive the XML document. |
org.xml.sax.DTDHandler |
getDTDHandler()
Returns a DTDHandler. |
void |
reset()
Cleans up after validating a document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CombineValidator(Validator v1, Validator v2)
Method Detail |
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.
reset
in interface Validator
public org.xml.sax.ContentHandler getContentHandler()
Validator
reset
is called.
getContentHandler
in interface Validator
null
Validator.reset()
public org.xml.sax.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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |