Class SchemaResolver

java.lang.Object
ome.specification.SchemaResolver
All Implemented Interfaces:
LSResourceResolver

public class SchemaResolver extends Object implements LSResourceResolver
A resolver for Schema locations that pulls them from jar resources.
Since:
3.0-Beta4
Version:
1.0 (Internal version: $Revision: $Date: $)
Author:
Andrew Patterson      ajpatterson@lifesci.dundee.ac.uk
  • Constructor Details

  • Method Details

    • resolveResource

      public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
      Resolves known namespace locations to their appropriate jar resource
      Specified by:
      resolveResource in interface LSResourceResolver
      Parameters:
      type - Not used by function.
      namespaceURI - Not used by function.
      publicId - Not used by function.
      systemId - The schema location that will be used to choose the resource to return.
      baseURI - Not used by function.
      Returns:
      The requested resource.