public final class CheckerValidator
extends java.lang.Object
implements com.thaiopensource.validate.Validator
Checker
so that it can be used like a Jing Validator
.Constructor and Description |
---|
CheckerValidator(Checker checker,
com.thaiopensource.util.PropertyMap propertyMap)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.ContentHandler |
getContentHandler()
Returns the wrapped
Checker . |
org.xml.sax.DTDHandler |
getDTDHandler()
Returns
null . |
void |
reset()
Resets the wrapped
Checker . |
public CheckerValidator(Checker checker, com.thaiopensource.util.PropertyMap propertyMap)
checker
- the Checker
to wrappropertyMap
- a property map containing a mapping for
ValidateProperty.ERROR_HANDLER
public org.xml.sax.ContentHandler getContentHandler()
Checker
.getContentHandler
in interface com.thaiopensource.validate.Validator
Checker
Validator.getContentHandler()
public org.xml.sax.DTDHandler getDTDHandler()
null
.getDTDHandler
in interface com.thaiopensource.validate.Validator
null
Validator.getDTDHandler()
public void reset()
Checker
.reset
in interface com.thaiopensource.validate.Validator
Validator.reset()