Interface DocumentLocationResolver

    • Method Detail

      • getLocationFor

        @Nullable
        String getLocationFor​(String namespaceURI,
                              String systemId)
        Produces a relative reference from one document to another.
        Parameters:
        namespaceURI - The namespace urI for the referenced document. for e.g. wsdl:import/@namespace, xsd:import/@namespace
        systemId - The location value for the referenced document. for e.g. wsdl:import/@location, xsd:import/@schemaLocation
        Returns:
        The reference to be put inside current to refer to referenced. This can be a relative URL as well as an absolute. If null is returned, then the document will produce a "implicit reference" (for example, <xs:import> without the @schemaLocation attribute, etc).