public class XmlMessageValidationContext extends Object implements ValidationContext
| Constructor and Description |
|---|
XmlMessageValidationContext() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getControlNamespaces()
Get control namespace elements.
|
org.springframework.core.io.Resource |
getDTDResource()
Get the dtd resource.
|
Set<String> |
getIgnoreExpressions()
Get ignored message elements.
|
Map<String,String> |
getNamespaces()
Get the namespace definitions for this validator.
|
String |
getSchema()
Gets the schema.
|
String |
getSchemaRepository()
Gets the schemaRepository.
|
boolean |
isSchemaValidationEnabled()
Is schema validation enabled.
|
void |
setControlNamespaces(Map<String,String> controlNamespaces)
Set the control namespace elements.
|
void |
setDTDResource(org.springframework.core.io.Resource dtdResource)
Set dtd resource.
|
void |
setIgnoreExpressions(Set<String> ignoreExpressions)
Set ignored message elements.
|
void |
setNamespaces(Map<String,String> namespaces)
Set the namespace definitions.
|
void |
setSchema(String schema)
Sets the schema.
|
void |
setSchemaRepository(String schemaRepository)
Sets the schemaRepository.
|
void |
setSchemaValidation(boolean schemaValidation)
Enable/disable schema validation.
|
public Set<String> getIgnoreExpressions()
public void setIgnoreExpressions(Set<String> ignoreExpressions)
ignoreExpressions - the ignoreExpressions to setpublic Map<String,String> getNamespaces()
public void setNamespaces(Map<String,String> namespaces)
namespaces - the namespaceContext to setpublic org.springframework.core.io.Resource getDTDResource()
public void setDTDResource(org.springframework.core.io.Resource dtdResource)
dtdResource - the dtdResource to setpublic Map<String,String> getControlNamespaces()
public void setControlNamespaces(Map<String,String> controlNamespaces)
controlNamespaces - the controlNamespaces to setpublic boolean isSchemaValidationEnabled()
public void setSchemaValidation(boolean schemaValidation)
schemaValidation - the schemaValidation to setpublic String getSchemaRepository()
public void setSchemaRepository(String schemaRepository)
schemaRepository - the schemaRepository to setpublic String getSchema()
public void setSchema(String schema)
schema - the schema to setCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.