A validator helper for StreamSources.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | ENTITY_RESOLVER
Property identifier: entity resolver. |
| private static final String | ERROR_HANDLER
Property identifier: error handler. |
| private static final String | ERROR_REPORTER
Property identifier: error reporter. |
| private final XMLSchemaValidatorComponentManager | fComponentManager
Component manager. |
| private SoftReference | fConfiguration
SoftReference to parser configuration. |
| private SoftReference | fParser
The parser maintains a reference to the configuration, so it must be a SoftReference too. |
| private final XMLSchemaValidator | fSchemaValidator
Schema validator. |
| private SerializerFactory | fSerializerFactory
Serializer factory. |
| private static final String | PARSER_SETTINGS
Feature identifier: parser settings. |
| private static final String | SCHEMA_VALIDATOR
Property identifier: XML Schema validator. |
| private static final String | SECURITY_MANAGER
Property identifier: security manager. |
| private static final String | SYMBOL_TABLE
Property identifier: symbol table. |
| private static final String | VALIDATION_MANAGER
Property identifier: validation manager. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private XMLParserConfiguration | |
| public void | validate(Source source, Result result)
Implements org. |
| ENTITY_RESOLVER | back to summary |
|---|---|
| private static final String ENTITY_RESOLVER Property identifier: entity resolver. | |
| ERROR_HANDLER | back to summary |
|---|---|
| private static final String ERROR_HANDLER Property identifier: error handler. | |
| ERROR_REPORTER | back to summary |
|---|---|
| private static final String ERROR_REPORTER Property identifier: error reporter. | |
| fComponentManager | back to summary |
|---|---|
| private final XMLSchemaValidatorComponentManager fComponentManager Component manager. | |
| fConfiguration | back to summary |
|---|---|
| private SoftReference<T> fConfiguration SoftReference to parser configuration. | |
| fParser | back to summary |
|---|---|
| private SoftReference<T> fParser The parser maintains a reference to the configuration, so it must be a SoftReference too. | |
| fSchemaValidator | back to summary |
|---|---|
| private final XMLSchemaValidator fSchemaValidator Schema validator. | |
| fSerializerFactory | back to summary |
|---|---|
| private SerializerFactory fSerializerFactory
Deprecated as a consequence of Serializer factory. | |
| PARSER_SETTINGS | back to summary |
|---|---|
| private static final String PARSER_SETTINGS Feature identifier: parser settings. | |
| SCHEMA_VALIDATOR | back to summary |
|---|---|
| private static final String SCHEMA_VALIDATOR Property identifier: XML Schema validator. | |
| SECURITY_MANAGER | back to summary |
|---|---|
| private static final String SECURITY_MANAGER Property identifier: security manager. | |
| SYMBOL_TABLE | back to summary |
|---|---|
| private static final String SYMBOL_TABLE Property identifier: symbol table. | |
| VALIDATION_MANAGER | back to summary |
|---|---|
| private static final String VALIDATION_MANAGER Property identifier: validation manager. | |
| StreamValidatorHelper | back to summary |
|---|---|
| public StreamValidatorHelper(XMLSchemaValidatorComponentManager componentManager) | |
| initialize | back to summary |
|---|---|
| private XMLParserConfiguration initialize() | |
| validate | back to summary |
|---|---|
| public void validate(Source source, Result result) throws SAXException, IOException Implements org. | |