Package ome.specification
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 Summary
Constructors Constructor Description SchemaResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LSInput
resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
Resolves known namespace locations to their appropriate jar resource
-
-
-
Constructor Detail
-
SchemaResolver
public SchemaResolver() throws InstantiationException
- Throws:
InstantiationException
-
-
Method Detail
-
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 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.
-
-