Class AbstractSchemaMappingStrategy

    • Constructor Detail

      • AbstractSchemaMappingStrategy

        public AbstractSchemaMappingStrategy()
    • Method Detail

      • getSchema

        public org.springframework.xml.xsd.XsdSchema getSchema​(List<org.springframework.xml.xsd.XsdSchema> schemas,
                                                               Document doc)
        Gets the schema for given namespace or root element name.
        Specified by:
        getSchema in interface XsdSchemaMappingStrategy
        Parameters:
        schemas - list of available schemas.
        doc - document instance to validate.
        Returns:
      • getSchema

        public abstract 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.
        Parameters:
        schemas -
        namespace -
        elementName -
        Returns: