Package com.consol.citrus.xml.schema
Class RootQNameSchemaMappingStrategy
- java.lang.Object
-
- com.consol.citrus.xml.schema.AbstractSchemaMappingStrategy
-
- com.consol.citrus.xml.schema.RootQNameSchemaMappingStrategy
-
- All Implemented Interfaces:
XsdSchemaMappingStrategy
public class RootQNameSchemaMappingStrategy extends AbstractSchemaMappingStrategy
Mapping strategy uses the root element local name to find matching schema instance.- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description RootQNameSchemaMappingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.xml.xsd.XsdSchemagetSchema(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.voidsetMappings(Map<String,org.springframework.xml.xsd.XsdSchema> mappings)Sets the mappings.-
Methods inherited from class com.consol.citrus.xml.schema.AbstractSchemaMappingStrategy
getSchema
-
-
-
-
Method Detail
-
getSchema
public org.springframework.xml.xsd.XsdSchema getSchema(List<org.springframework.xml.xsd.XsdSchema> schemas, String namespace, String elementName)
Description copied from class:AbstractSchemaMappingStrategySubclasses must override this method in order to detect schema for target namespace and/or root element name.- Specified by:
getSchemain classAbstractSchemaMappingStrategy- Returns:
-
-