|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.iso_relax.verifier.impl.ForkContentHandler
com.sun.xml.bind.validator.ValidatingUnmarshaller
public class ValidatingUnmarshaller
Filter implementation of SAXUnmarshallerHandler.
This component internally uses a VerifierFilter to validate SAX events that goes through this component. Discovered error information is just passed down to the next component.
This will enable the implementation to validate all sources of SAX events in the RI - XMLReader, DOMScanner SAX events will go the VerifierFilter and then to the SAXUnmarshaller...
| Method Summary | |
|---|---|
static ValidatingUnmarshaller |
create(com.sun.msv.grammar.Grammar grammar,
SAXUnmarshallerHandler _core,
Locator locator)
Deprecated. Creates a new instance of ValidatingUnmarshaller. |
java.lang.Object |
getResult()
Deprecated. |
boolean |
handleEvent(ValidationEvent event)
Deprecated. |
void |
startElement(java.lang.String nsUri,
java.lang.String local,
java.lang.String qname,
org.xml.sax.Attributes atts)
Deprecated. |
| Methods inherited from class org.iso_relax.verifier.impl.ForkContentHandler |
|---|
characters, create, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, 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, startPrefixMapping |
| Method Detail |
|---|
public static ValidatingUnmarshaller create(com.sun.msv.grammar.Grammar grammar,
SAXUnmarshallerHandler _core,
Locator locator)
public java.lang.Object getResult()
throws JAXBException,
java.lang.IllegalStateException
getResult in interface UnmarshallerHandlerJAXBException
java.lang.IllegalStateExceptionpublic boolean handleEvent(ValidationEvent event)
handleEvent in interface ValidationEventHandler
public void startElement(java.lang.String nsUri,
java.lang.String local,
java.lang.String qname,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.iso_relax.verifier.impl.ForkContentHandlerorg.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||