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.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private class | JAXPValidatorComponent.SAX2XNI
Uses |
| private static class | JAXPValidatorComponent.XNI2SAX
Converts |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | ENTITY_MANAGER
Property identifier: entity manager. |
| private static final String | ERROR_REPORTER
Property identifier: error reporter. |
| private XMLAttributes | fCurrentAttributes
|
| private Augmentations | fCurrentAug
Used to store the |
| private XMLEntityResolver | |
| private XMLErrorReporter | |
| private SymbolTable | |
| private static final TypeInfoProvider | noInfoProvider
|
| private final JAXPValidatorComponent. | |
| private static final String | SYMBOL_TABLE
Property identifier: symbol table. |
| private final TypeInfoProvider | |
| private final ValidatorHandler | |
| private final JAXPValidatorComponent. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | characters(XMLString
The content. text, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | emptyElement(QName
The name of the element. element, XMLAttributes The element attributes. attributes, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | endElement(QName
The name of the element. element, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public Boolean | getFeatureDefault(String
The feature identifier. featureId)Implements org. |
| public Object | getPropertyDefault(String
The property identifier. propertyId)Implements org. |
| public String[] | getRecognizedFeatures()
Implements org. |
| public String[] | getRecognizedProperties()
Implements org. |
| public void | ignorableWhitespace(XMLString
The ignorable whitespace. text, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | reset(XMLComponentManager
The component manager. componentManager)Implements org. |
| public void | setFeature(String
The feature identifier. featureId, boolean The state of the feature. state)Implements org. |
| public void | setProperty(String
The property identifier. propertyId, Object The value of the property. value)Implements org. |
| public void | startElement(QName
The name of the element. element, XMLAttributes The element attributes. attributes, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| private String | |
| private void | updateAttributes(Attributes atts)
Compares the given |