|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.caucho.relaxng.VerifierHandlerImpl
public class VerifierHandlerImpl
JARV verifier implementation
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Constructor Summary | |
|---|---|
VerifierHandlerImpl(SchemaImpl schema)
Creates the Verifier Handler. |
|
VerifierHandlerImpl(SchemaImpl schema,
VerifierImpl verifier)
Creates the Verifier Handler. |
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Called when an element ends. |
boolean |
isValid()
Checks if the document was valid. |
void |
sendText()
|
void |
setDocumentLocator(org.xml.sax.Locator locator)
Sets the locator. |
void |
setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
Sets the error handler |
void |
startDocument()
Called when the document starts. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
Called when an element starts. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.ContentHandler |
|---|
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startPrefixMapping |
| Methods inherited from interface org.xml.sax.ErrorHandler |
|---|
error, fatalError, warning |
| Field Detail |
|---|
protected static final java.util.logging.Logger log
| Constructor Detail |
|---|
public VerifierHandlerImpl(SchemaImpl schema,
VerifierImpl verifier)
public VerifierHandlerImpl(SchemaImpl schema)
| Method Detail |
|---|
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator in interface org.xml.sax.ContentHandlersetDocumentLocator in class org.xml.sax.helpers.DefaultHandler
public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public void sendText()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public boolean isValid()
throws java.lang.IllegalStateException
This method can be only called after this handler receives
the endDocument event.
isValid in interface VerifierHandlerjava.lang.IllegalStateException - If this method is called before the endDocument event is dispatched.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||