|
|||||||||||
| 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()
Validatorreset 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 Validatorpublic org.xml.sax.ContentHandler getContentHandler()
Validatorreset is called.
getContentHandler in interface ValidatornullValidator.reset()public org.xml.sax.DTDHandler getDTDHandler()
Validatornull
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 Validatornull 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 | ||||||||||