Top Description Fields Constructors Methods
org.apache.xerces.jaxp.validation

pack-priv final Class StreamValidatorHelper

extends Object
implements ValidatorHelper
Class Inheritance
All Implemented Interfaces
org.apache.xerces.jaxp.validation.ValidatorHelper
Imports
java.io.IOException, .OutputStream, java.lang.ref.SoftReference, javax.xml.transform.Result, .Source, javax.xml.transform.stream.StreamResult, .StreamSource, org.apache.xerces.impl.Constants, .XMLEntityManager, .XMLErrorReporter, org.apache.xerces.impl.msg.XMLMessageFormatter, org.apache.xerces.impl.xs.XMLSchemaValidator, org.apache.xerces.parsers.SAXParser, .XML11Configuration, org.apache.xerces.xni.XNIException, org.apache.xerces.xni.parser.XMLInputSource, .XMLParseException, .XMLParserConfiguration, org.apache.xml.serialize.Method, .OutputFormat, .Serializer, .SerializerFactory, org.xml.sax.SAXException

A validator helper for StreamSources.

Author
Michael Glavassevich, IBM
Version
$Id: StreamValidatorHelper.java 933582 2010-04-13 12:39:13Z mrglavas $

Field Summary

Modifier and TypeField 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<T>
fConfiguration

SoftReference to parser configuration.

private SoftReference<T>
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.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private XMLParserConfiguration
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ENTITY_RESOLVERback to summary
private static final String ENTITY_RESOLVER

Property identifier: entity resolver.

ERROR_HANDLERback to summary
private static final String ERROR_HANDLER

Property identifier: error handler.

ERROR_REPORTERback to summary
private static final String ERROR_REPORTER

Property identifier: error reporter.

fComponentManagerback to summary
private final XMLSchemaValidatorComponentManager fComponentManager

Component manager.

fConfigurationback to summary
private SoftReference<T> fConfiguration

SoftReference to parser configuration.

fParserback to summary
private SoftReference<T> fParser

The parser maintains a reference to the configuration, so it must be a SoftReference too.

fSchemaValidatorback to summary
private final XMLSchemaValidator fSchemaValidator

Schema validator.

fSerializerFactoryback to summary
private SerializerFactory fSerializerFactory

Deprecated

as a consequence of SerializerFactory being deprecated. See corresponding docs for further information.

Serializer factory.

PARSER_SETTINGSback to summary
private static final String PARSER_SETTINGS

Feature identifier: parser settings.

SCHEMA_VALIDATORback to summary
private static final String SCHEMA_VALIDATOR

Property identifier: XML Schema validator.

SECURITY_MANAGERback to summary
private static final String SECURITY_MANAGER

Property identifier: security manager.

SYMBOL_TABLEback to summary
private static final String SYMBOL_TABLE

Property identifier: symbol table.

VALIDATION_MANAGERback to summary
private static final String VALIDATION_MANAGER

Property identifier: validation manager.

Constructor Detail

StreamValidatorHelperback to summary
public StreamValidatorHelper(XMLSchemaValidatorComponentManager componentManager)

Method Detail

initializeback to summary
private XMLParserConfiguration initialize()
validateback to summary
public void validate(Source source, Result result) throws SAXException, IOException

Implements org.apache.xerces.jaxp.validation.ValidatorHelper.validate.