| java.lang.Object org.apache.xerces.jaxp.TeeXMLDocumentFilterImpl org.apache.xerces.jaxp.JAXPValidatorComponent
JAXPValidatorComponent | final class JAXPValidatorComponent extends TeeXMLDocumentFilterImpl implements XMLComponent(Code) | | Runs events through a
javax.xml.validation.ValidatorHandler and performs validation/infoset-augmentation by an external validator.
This component sets up the pipeline as follows:
__ __
/ |==> XNI2SAX --> Validator --> SAX2XNI ==>|
/ | |
==>| Tee| | next
\ | | component
\ |============other XNI events============>|
~~ ~~
only those events that need to go through Validator will go the 1st route,
and other events go the 2nd direct route.
author: Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) version: $Id: JAXPValidatorComponent.java 548088 2007-06-17 18:25:17Z mrglavas $ |
JAXPValidatorComponent | public JAXPValidatorComponent(ValidatorHandler validatorHandler)(Code) | | Parameters: validatorHandler - may not be null. |
getRecognizedFeatures | public String[] getRecognizedFeatures()(Code) | | |
getRecognizedProperties | public String[] getRecognizedProperties()(Code) | | |
Methods inherited from org.apache.xerces.jaxp.TeeXMLDocumentFilterImpl | public void characters(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void comment(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void doctypeDecl(String rootElement, String publicId, String systemId, Augmentations augs) throws XNIException(Code)(Java Doc) public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc) public void endCDATA(Augmentations augs) throws XNIException(Code)(Java Doc) public void endDocument(Augmentations augs) throws XNIException(Code)(Java Doc) public void endElement(QName element, Augmentations augs) throws XNIException(Code)(Java Doc) public void endGeneralEntity(String name, Augmentations augs) throws XNIException(Code)(Java Doc) public XMLDocumentHandler getDocumentHandler()(Code)(Java Doc) public XMLDocumentSource getDocumentSource()(Code)(Java Doc) public XMLDocumentHandler getSide()(Code)(Java Doc) public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException(Code)(Java Doc) public void setDocumentHandler(XMLDocumentHandler handler)(Code)(Java Doc) public void setDocumentSource(XMLDocumentSource source)(Code)(Java Doc) public void setSide(XMLDocumentHandler side)(Code)(Java Doc) public void startCDATA(Augmentations augs) throws XNIException(Code)(Java Doc) public void startDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) throws XNIException(Code)(Java Doc) public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc) public void startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void textDecl(String version, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void xmlDecl(String version, String encoding, String standalone, Augmentations augs) throws XNIException(Code)(Java Doc)
|
|
|