public class XercesXmlValidator extends AbstractXmlValidator
AbstractXmlValidator.ValidationResult
Modifier and Type | Field and Description |
---|---|
protected static String |
DISSALLOW_DOCTYPE_DECL_FEATURE_ID
Disallow doctype declarations feature id (http://apache.org/xml/features/disallow-doctype-decl).
|
protected static String |
EXTERNAL_GENERAL_ENTITIES_FEATURE_ID
External general entities feature id (http://xml.org/sax/features/external-general-entities).
|
protected static String |
EXTERNAL_PARAMETER_ENTITIES_FEATURE_ID
External paramter entities feature id (http://xml.org/sax/features/external-general-entities).
|
static String |
GRAMMAR_POOL
Property identifier: grammar pool.
|
protected static String |
NAMESPACES_FEATURE_ID
Namespaces feature id (http://xml.org/sax/features/namespaces).
|
protected static String |
SCHEMA_FULL_CHECKING_FEATURE_ID
Schema full checking feature id (http://apache.org/xml/features/validation/schema-full-checking).
|
protected static String |
SCHEMA_VALIDATION_FEATURE_ID
Schema validation feature id (http://apache.org/xml/features/validation/schema).
|
protected static String |
SECURITY_MANAGER_PROPERTY_ID |
protected static String |
VALIDATION_FEATURE_ID
Validation feature id (http://xml.org/sax/features/validation).
|
protected static String |
XML_SCHEMA_VERSION_PROPERTY |
ignoreUnknownNamespaces, log, logPrefix, schemasProvider, warn
Constructor and Description |
---|
XercesXmlValidator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(IConfigurationAware owner)
Configure the XmlValidator
|
XMLReader |
createValidatingParser(PipeLineSession session,
ValidationContext context) |
nl.nn.adapterframework.validation.XercesValidationContext |
createValidationContext(PipeLineSession session,
RootValidations rootValidations,
Map<List<String>,List<String>> invalidRootNamespaces) |
protected nl.nn.adapterframework.validation.PreparseResult |
getPreparseResult(PipeLineSession session) |
static org.apache.xerces.util.SymbolTable |
getSymbolTableInstance() |
ValidatorHandler |
getValidatorHandler(PipeLineSession session,
ValidationContext context) |
List<org.apache.xerces.xs.XSModel> |
getXSModels() |
void |
start() |
finalizeValidation, getInputSource, getLogPrefix, getName, isXmlSchema1_0, setCharset, setFullSchemaChecking, setIgnoreCaching, setIgnoreUnknownNamespaces, setReasonSessionKey, setThrowException, setValidateFile, setWarn, setXmlReasonSessionKey, setXmlSchemaVersion, stop, validate, validate, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApplicationContext
getConfigurationClassLoader
public static final String GRAMMAR_POOL
protected static final String NAMESPACES_FEATURE_ID
protected static final String VALIDATION_FEATURE_ID
protected static final String SCHEMA_VALIDATION_FEATURE_ID
protected static final String EXTERNAL_GENERAL_ENTITIES_FEATURE_ID
protected static final String EXTERNAL_PARAMETER_ENTITIES_FEATURE_ID
protected static final String DISSALLOW_DOCTYPE_DECL_FEATURE_ID
protected static final String SCHEMA_FULL_CHECKING_FEATURE_ID
protected static final String SECURITY_MANAGER_PROPERTY_ID
protected static final String XML_SCHEMA_VERSION_PROPERTY
public void configure(IConfigurationAware owner) throws ConfigurationException
AbstractXmlValidator
configure
in class AbstractXmlValidator
ConfigurationException
- when:
#isThrowException()
is false and there is no forward defined for "failure"public void start() throws ConfigurationException
start
in class AbstractXmlValidator
ConfigurationException
public static org.apache.xerces.util.SymbolTable getSymbolTableInstance()
protected nl.nn.adapterframework.validation.PreparseResult getPreparseResult(PipeLineSession session) throws ConfigurationException, PipeRunException
public nl.nn.adapterframework.validation.XercesValidationContext createValidationContext(PipeLineSession session, RootValidations rootValidations, Map<List<String>,List<String>> invalidRootNamespaces) throws ConfigurationException, PipeRunException
createValidationContext
in class AbstractXmlValidator
ConfigurationException
PipeRunException
public ValidatorHandler getValidatorHandler(PipeLineSession session, ValidationContext context) throws ConfigurationException
getValidatorHandler
in class AbstractXmlValidator
ConfigurationException
public XMLReader createValidatingParser(PipeLineSession session, ValidationContext context) throws XmlValidatorException, ConfigurationException, PipeRunException
public List<org.apache.xerces.xs.XSModel> getXSModels()
getXSModels
in class AbstractXmlValidator
Copyright © 2023 Frank!Framework. All rights reserved.