|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.taplint.IvoaSchemaResolver
public class IvoaSchemaResolver
ResourceResolver implementation used for validating documents against XSD schemas relating to known IVOA standards. Schemas for a number of IVOA-related namespaces are kept locally. This means both that validation can be performed without having to retrieve documents from the remote IVOA web site, and also that documents are not able to subsitute their own hacked versions of the schema for a given namespace, they have to use the official one.
Field Summary | |
---|---|
static String |
AVAILABILITY_URI
Namespace URI for VOSI availability schema. |
static String |
CAPABILITIES_URI
Namespace URI for VOSI capabilities schema. |
static String |
VODATASERVICE_URI
Namespace URI for VODataService schema. |
Constructor Summary | |
---|---|
IvoaSchemaResolver(Reporter reporter)
Constructor. |
Method Summary | |
---|---|
int |
getResolvedCount()
Returns the number of schemas that this resolver has so far been asked to resolve, and has successfully resolved to known local URLs. |
org.w3c.dom.ls.LSInput |
resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String baseURI)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String VODATASERVICE_URI
public static final String CAPABILITIES_URI
public static final String AVAILABILITY_URI
Constructor Detail |
---|
public IvoaSchemaResolver(Reporter reporter)
reporter
- destination for validation messagesMethod Detail |
---|
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 int getResolvedCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |