org.kohsuke.validatelet.jarv
Class JARVVerifierImpl

java.lang.Object
  |
  +--org.iso_relax.verifier.impl.VerifierImpl
        |
        +--org.kohsuke.validatelet.jarv.JARVVerifierImpl
All Implemented Interfaces:
org.iso_relax.verifier.Verifier

public class JARVVerifierImpl
extends org.iso_relax.verifier.impl.VerifierImpl

Wraps a Validatelet object into a JARV Verifier interface.

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Field Summary
 
Fields inherited from class org.iso_relax.verifier.impl.VerifierImpl
entityResolver, errorHandler, reader
 
Fields inherited from interface org.iso_relax.verifier.Verifier
FEATURE_FILTER, FEATURE_HANDLER
 
Constructor Summary
JARVVerifierImpl(Validatelet validatelet)
           
 
Method Summary
 org.iso_relax.verifier.VerifierHandler getVerifierHandler()
           
 void setErrorHandler(org.xml.sax.ErrorHandler handler)
           
 
Methods inherited from class org.iso_relax.verifier.impl.VerifierImpl
getProperty, getVerifierFilter, isFeature, prepareXMLReader, setEntityResolver, setFeature, setProperty, verify, verify, verify, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JARVVerifierImpl

public JARVVerifierImpl(Validatelet validatelet)
                 throws org.iso_relax.verifier.VerifierConfigurationException
Parameters:
validatelet - The validatelet object to be wrapped. This validatelet will be "owned" by this JARVVerifierImpl, so the caller shouldn't attempt to use directly once it's wrapped.
Method Detail

getVerifierHandler

public org.iso_relax.verifier.VerifierHandler getVerifierHandler()
                                                          throws org.xml.sax.SAXException
Specified by:
getVerifierHandler in interface org.iso_relax.verifier.Verifier
Specified by:
getVerifierHandler in class org.iso_relax.verifier.impl.VerifierImpl
org.xml.sax.SAXException

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)
Specified by:
setErrorHandler in interface org.iso_relax.verifier.Verifier
Overrides:
setErrorHandler in class org.iso_relax.verifier.impl.VerifierImpl