com.consol.citrus.xml.schema
Class TargetNamespaceSchemaMappingStrategy

java.lang.Object
  extended by com.consol.citrus.xml.schema.AbstractSchemaMappingStrategy
      extended by com.consol.citrus.xml.schema.TargetNamespaceSchemaMappingStrategy
All Implemented Interfaces:
XsdSchemaMappingStrategy

public class TargetNamespaceSchemaMappingStrategy
extends AbstractSchemaMappingStrategy

Mapping strategy checks on target namespaces in schemas to find matching schema instance.

Author:
Christoph Deppisch

Constructor Summary
TargetNamespaceSchemaMappingStrategy()
           
 
Method Summary
 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.
 
Methods inherited from class com.consol.citrus.xml.schema.AbstractSchemaMappingStrategy
getSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetNamespaceSchemaMappingStrategy

public TargetNamespaceSchemaMappingStrategy()
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: AbstractSchemaMappingStrategy
Subclasses must override this method in order to detect schema for target namespace and/or root element name.

Specified by:
getSchema in class AbstractSchemaMappingStrategy
Returns:


Copyright © 2008-2013 ConSol* Consulting&Solutions GmbH. All Rights Reserved.