Package ome.specification
Class SchemaResolver
java.lang.Object
ome.specification.SchemaResolver
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
SchemaResolver
- Throws:
InstantiationException
-
-
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:
resolveResourcein interfaceLSResourceResolver- 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.
-