com.caucho.relaxng
Class Verifier

java.lang.Object
  extended by com.caucho.relaxng.Verifier
Direct Known Subclasses:
VerifierImpl

public abstract class Verifier
extends java.lang.Object

JARV verifier implementation


Constructor Summary
Verifier()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
          Sends an error.
 VerifierFilter getVerifierFilter()
          Returns a verifier filter.
abstract  VerifierHandler getVerifierHandler()
          Creates a verifier handler from the verifier.
abstract  void setErrorHandler(org.xml.sax.ErrorHandler handler)
          Set the error handler.
 boolean verify(java.lang.String url)
          Verifies a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Verifier

public Verifier()
Method Detail

setErrorHandler

public abstract void setErrorHandler(org.xml.sax.ErrorHandler handler)
Set the error handler.


getVerifierHandler

public abstract VerifierHandler getVerifierHandler()
Creates a verifier handler from the verifier.


getVerifierFilter

public VerifierFilter getVerifierFilter()
Returns a verifier filter.


verify

public boolean verify(java.lang.String url)
               throws java.io.IOException,
                      org.xml.sax.SAXException
Verifies a file.

Throws:
java.io.IOException
org.xml.sax.SAXException

error

public void error(org.xml.sax.SAXParseException e)
           throws org.xml.sax.SAXException
Sends an error.

Throws:
org.xml.sax.SAXException