Class LocalSchemaLocator

  • public class LocalSchemaLocator
    extends Object
    Helper for resolving XML Schema references locally.
    Implementation Note:
    *By design* we always use our ClassLoader to perform the lookups here.
    • Method Detail

      • resolveLocalSchemaUrl

        public static URL resolveLocalSchemaUrl​(String schemaResourceName)
        Given the resource name of a schema, locate its URL reference via ClassLoader lookup.
        schemaResourceName - The local resource name to the schema
      • resolveLocalSchema

        public static Schema resolveLocalSchema​(String schemaName)
      • resolveLocalSchema

        public static Schema resolveLocalSchema​(URL schemaUrl)