Class 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 Detail

      • schemas

        protected List<String> schemas
        List of schema locations loaded as schema resource instance
    • Constructor Detail

      • XsdSchemaCollection

        public XsdSchemaCollection()
    • Method Detail

      • loadSchemaResources

        protected org.springframework.core.io.Resource loadSchemaResources()
        Loads all schema resource files from schema locations.
        Specified by:
        loadSchemaResources in class AbstractSchemaCollection
      • getSchemas

        public List<String> getSchemas()
        Gets the schemas included in this collection.
        Returns:
      • setSchemas

        public void setSchemas​(List<String> schemas)
        Sets the schemas in this collection.
        Parameters:
        schemas - the schema resources to set