Package org.esa.snap.core.metadata
Class ResourceResolver
- java.lang.Object
-
- org.esa.snap.core.metadata.ResourceResolver
-
- All Implemented Interfaces:
LSResourceResolver
public class ResourceResolver extends Object implements LSResourceResolver
The Class ResourceResolver. Implemented by Smyrnian in http://stackoverflow.com/questions/2342808/problem-validating-an-xml-file-using-java-with-an-xsd-having-an-include Modified by obarrilero "This LSResourceResolver implementation assumes that all XSD files have a unique name. If you have some XSD files with same name but different content (at different paths) in your schema structure, this resolver will fail to include the other XSD files except the first one found."
-
-
Constructor Summary
Constructors Constructor Description ResourceResolver(String schemaBasePath, ClassLoader classLoader)
-
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)
-
-
-
Constructor Detail
-
ResourceResolver
public ResourceResolver(String schemaBasePath, ClassLoader classLoader)
-
-
Method Detail
-
resolveResource
public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
- Specified by:
resolveResource
in interfaceLSResourceResolver
-
-