public class SchemaMappingStrategyChain extends Object implements XsdSchemaMappingStrategy
Constructor and Description |
---|
SchemaMappingStrategyChain() |
Modifier and Type | Method and Description |
---|---|
org.springframework.xml.xsd.XsdSchema |
getSchema(List<org.springframework.xml.xsd.XsdSchema> schemas,
Document doc)
Gets the schema for given namespace or root element name.
|
void |
setStrategies(List<XsdSchemaMappingStrategy> strategies)
Sets the strategies.
|
public org.springframework.xml.xsd.XsdSchema getSchema(List<org.springframework.xml.xsd.XsdSchema> schemas, Document doc)
getSchema
in interface XsdSchemaMappingStrategy
schemas
- list of available schemas.doc
- document instance to validate.public void setStrategies(List<XsdSchemaMappingStrategy> strategies)
strategies
- the strategies to setCopyright © 2008–2017 ConSol Software GmbH. All rights reserved.