DODS 7.6 API

org.enhydra.dods.generator
Class DOMLEntityResolver

java.lang.Object
  extended by org.enhydra.dods.generator.DOMLEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

public class DOMLEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver

Replaces the internet location of the DOML 8.0 schema, with its content read from resources.

Author:
Dejan Betos

Field Summary
static java.lang.String DOML_SCHEMA
           
 
Constructor Summary
DOMLEntityResolver()
           
 
Method Summary
static org.xml.sax.InputSource getSchemaInputSource()
           
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOML_SCHEMA

public static final java.lang.String DOML_SCHEMA
See Also:
Constant Field Values
Constructor Detail

DOMLEntityResolver

public DOMLEntityResolver()
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver

getSchemaInputSource

public static org.xml.sax.InputSource getSchemaInputSource()

DODS 7.6 API