Package com.consol.citrus.xml.schema
Class XsdSchemaCollection
- java.lang.Object
-
- org.springframework.xml.xsd.SimpleXsdSchema
-
- com.consol.citrus.xml.schema.AbstractSchemaCollection
-
- com.consol.citrus.xml.schema.XsdSchemaCollection
-
- All Implemented Interfaces:
com.consol.citrus.common.InitializingPhase,org.springframework.beans.factory.InitializingBean,org.springframework.xml.xsd.XsdSchema
public class XsdSchemaCollection extends AbstractSchemaCollection
Schema combines multiple file resources usually with exactly the same target namespace to one single schema instance.- Author:
- Christoph Deppisch
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>schemasList of schema locations loaded as schema resource instance-
Fields inherited from class com.consol.citrus.xml.schema.AbstractSchemaCollection
importedSchemas, schemaResources, W3C_XML_SCHEMA_NS_URI, WWW_W3_ORG_2000_XMLNS
-
-
Constructor Summary
Constructors Constructor Description XsdSchemaCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getSchemas()Gets the schemas included in this collection.protected org.springframework.core.io.ResourceloadSchemaResources()Loads all schema resource files from schema locations.voidsetSchemas(List<String> schemas)Sets the schemas in this collection.-
Methods inherited from class com.consol.citrus.xml.schema.AbstractSchemaCollection
addImportedSchemas, addIncludedSchemas, createValidator, getSchemaResources, initialize
-
-
-
-
Method Detail
-
loadSchemaResources
protected org.springframework.core.io.Resource loadSchemaResources()
Loads all schema resource files from schema locations.- Specified by:
loadSchemaResourcesin classAbstractSchemaCollection
-
-