Class AbstractSchemaCollection

  • All Implemented Interfaces:
    com.consol.citrus.common.InitializingPhase, org.springframework.beans.factory.InitializingBean, org.springframework.xml.xsd.XsdSchema
    Direct Known Subclasses:
    WsdlXsdSchema, XsdSchemaCollection

    public abstract class AbstractSchemaCollection
    extends org.springframework.xml.xsd.SimpleXsdSchema
    implements com.consol.citrus.common.InitializingPhase
    Since:
    2.4
    Author:
    Christoph Deppisch
    • Field Detail

      • schemaResources

        protected List<org.springframework.core.io.Resource> schemaResources
        List of schema resources
      • importedSchemas

        protected List<String> importedSchemas
        Imported schemas
    • Constructor Detail

      • AbstractSchemaCollection

        public AbstractSchemaCollection()
    • Method Detail

      • createValidator

        public org.springframework.xml.validation.XmlValidator createValidator()
        Specified by:
        createValidator in interface org.springframework.xml.xsd.XsdSchema
        Overrides:
        createValidator in class org.springframework.xml.xsd.SimpleXsdSchema
      • initialize

        public void initialize()
        Specified by:
        initialize in interface com.consol.citrus.common.InitializingPhase
      • loadSchemaResources

        protected abstract org.springframework.core.io.Resource loadSchemaResources()
        Loads all schema resource files from schema locations.
      • getSchemaResources

        public List<org.springframework.core.io.Resource> getSchemaResources()
        Gets the schema resources.
        Returns: