|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.excalibur.xml.sax.ContentHandlerProxy org.apache.excalibur.xml.sax.XMLConsumerProxy org.apache.cocoon.components.validation.impl.DefaultValidationHandler
public class DefaultValidationHandler
The default implementation of the ValidationHandler
interface.
Constructor Summary | |
---|---|
DefaultValidationHandler(SourceValidity validity,
ContentHandler handler)
Create a new DefaultValidationHandler instance. |
|
DefaultValidationHandler(SourceValidity validity,
ContentHandler contentHandler,
LexicalHandler lexicalHandler)
Create a new DefaultValidationHandler instance. |
Method Summary | |
---|---|
SourceValidity |
getValidity()
Return a SourceValidity instance associated with the original
resources of the schema describing the validation instructions. |
Methods inherited from class org.apache.excalibur.xml.sax.XMLConsumerProxy |
---|
comment, endCDATA, endDTD, endEntity, setLexicalHandler, startCDATA, startDTD, startEntity |
Methods inherited from class org.apache.excalibur.xml.sax.ContentHandlerProxy |
---|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
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 |
---|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Methods inherited from interface org.xml.sax.ext.LexicalHandler |
---|
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
Constructor Detail |
---|
public DefaultValidationHandler(SourceValidity validity, ContentHandler handler)
Create a new DefaultValidationHandler
instance.
public DefaultValidationHandler(SourceValidity validity, ContentHandler contentHandler, LexicalHandler lexicalHandler)
Create a new DefaultValidationHandler
instance.
Method Detail |
---|
public SourceValidity getValidity()
Return a SourceValidity
instance associated with the original
resources of the schema describing the validation instructions.
As the handler might be tied to one (or more) resources from where the
original schema was read from, the getValidity()
method provides a
way to verify whether the validation instruction are still valid or not.
getValidity
in interface ValidationHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |