public class JavaxXmlValidator extends AbstractXmlValidator
AbstractXmlValidator.ValidationResult
Modifier and Type | Field and Description |
---|---|
static String |
PARSING_FEATURE_DISALLOW_INLINE_DOCTYPE |
static String |
PARSING_FEATURE_EXTERNAL_GENERAL_ENTITIES |
static String |
PARSING_FEATURE_EXTERNAL_PARAMETER_ENTITIES |
static String |
PARSING_FEATURE_SECURE |
ignoreUnknownNamespaces, log, logPrefix, schemasProvider, warn
Constructor and Description |
---|
JavaxXmlValidator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(IConfigurationAware owner)
Configure the XmlValidator
|
nl.nn.adapterframework.validation.JavaxValidationContext |
createValidationContext(PipeLineSession session,
RootValidations rootValidations,
Map<List<String>,List<String>> invalidRootNamespaces) |
protected Schema |
getSchemaObject(String schemasId,
List<Schema> schemas)
Returns the
Schema associated with this validator. |
protected List<Source> |
getSchemaSources(List<Schema> schemas) |
ValidatorHandler |
getValidatorHandler(PipeLineSession session,
ValidationContext context) |
List<org.apache.xerces.xs.XSModel> |
getXSModels() |
protected List<org.apache.xerces.xs.XSModel> |
getXSModels(List<Schema> schemas) |
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 PARSING_FEATURE_SECURE
public static final String PARSING_FEATURE_EXTERNAL_GENERAL_ENTITIES
public static final String PARSING_FEATURE_EXTERNAL_PARAMETER_ENTITIES
public static final String PARSING_FEATURE_DISALLOW_INLINE_DOCTYPE
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 nl.nn.adapterframework.validation.JavaxValidationContext 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, PipeRunException
getValidatorHandler
in class AbstractXmlValidator
ConfigurationException
PipeRunException
protected Schema getSchemaObject(String schemasId, List<Schema> schemas) throws ConfigurationException
Schema
associated with this validator. This is an XSD schema containing knowledge about the
schema source as returned by getSchemaSources(List)
ConfigurationException
protected List<Source> getSchemaSources(List<Schema> schemas) throws IOException, XMLStreamException, ConfigurationException
protected List<org.apache.xerces.xs.XSModel> getXSModels(List<Schema> schemas) throws IOException, XMLStreamException, ConfigurationException
public List<org.apache.xerces.xs.XSModel> getXSModels()
getXSModels
in class AbstractXmlValidator
Copyright © 2023 Frank!Framework. All rights reserved.