public class IvoaSchemaResolver extends Object implements org.w3c.dom.ls.LSResourceResolver
Modifier and Type | Field and Description |
---|---|
static String |
AVAILABILITY_URI
Namespace URI for VOSI availability schema.
|
static String |
CAPABILITIES_URI
Namespace URI for VOSI capabilities schema.
|
static Map<String,URL> |
IVOA_SCHEMA_MAP
Unmodifiable map of namespace URIs to local schema URLs for
a selection of schemas from http://www.ivoa.net.
|
static String |
UWS_URI
Namespace URI for UWS schema.
|
static String |
VODATASERVICE_URI
Namespace URI for VODataService schema.
|
static Map<String,URL> |
W3C_SCHEMA_MAP
Unmodifiable map of namespace URIs to local schema URLs for
a selection of schemas from http://www.w3.org.
|
Constructor and Description |
---|
IvoaSchemaResolver()
Constructs a resolver with a default schema map.
|
IvoaSchemaResolver(Map<String,URL> schemaMap)
Constructs a resolver with a supplied schema map.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getResolvedNamespaces()
Returns the the schema namespaces which this resolver has so far
been asked to resolve, and has successfully resolved to known URLs.
|
Map<String,URL> |
getSchemaMap()
Returns the namespace->URL map of schemas known by this resolver.
|
Set<String> |
getUnresolvedNamespaces()
Returns the schema namespaces which this resolver has so far
been asked to resolve, and has failed because they are unknown.
|
org.w3c.dom.ls.LSInput |
resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String baseURI) |
public static final String VODATASERVICE_URI
public static final String CAPABILITIES_URI
public static final String AVAILABILITY_URI
public static final String UWS_URI
public static final Map<String,URL> IVOA_SCHEMA_MAP
public IvoaSchemaResolver(Map<String,URL> schemaMap)
schemaMap
- of known namespace to schema URLspublic IvoaSchemaResolver()
public Map<String,URL> getSchemaMap()
public org.w3c.dom.ls.LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
resolveResource
in interface org.w3c.dom.ls.LSResourceResolver
public Set<String> getResolvedNamespaces()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.