public abstract class AbstractSchemaMappingStrategy extends Object implements XsdSchemaMappingStrategy
| Constructor and Description |
|---|
AbstractSchemaMappingStrategy() |
| 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.
|
abstract org.springframework.xml.xsd.XsdSchema |
getSchema(List<org.springframework.xml.xsd.XsdSchema> schemas,
String namespace,
String elementName)
Subclasses must override this method in order to detect schema for
target namespace and/or root element name.
|
public org.springframework.xml.xsd.XsdSchema getSchema(List<org.springframework.xml.xsd.XsdSchema> schemas, Document doc)
getSchema in interface XsdSchemaMappingStrategyschemas - list of available schemas.doc - document instance to validate.public abstract org.springframework.xml.xsd.XsdSchema getSchema(List<org.springframework.xml.xsd.XsdSchema> schemas, String namespace, String elementName)
schemas - namespace - elementName - Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.