org.apache.jdo.impl.model.jdo.xml
Class JDOParser.JDOEntityResolver

java.lang.Object
  extended byorg.apache.jdo.impl.model.jdo.xml.JDOParser.JDOEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver
Enclosing class:
JDOParser

private static class JDOParser.JDOEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver

Implementation of EntityResolver interface to check the jdo.dtd location


Field Summary
private static java.lang.String RECOGNIZED_PUBLIC_ID
           
private static java.lang.String RECOGNIZED_SYSTEM_ID
           
 
Constructor Summary
private JDOParser.JDOEntityResolver()
           
 
Method Summary
 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

RECOGNIZED_PUBLIC_ID

private static final java.lang.String RECOGNIZED_PUBLIC_ID
See Also:
Constant Field Values

RECOGNIZED_SYSTEM_ID

private static final java.lang.String RECOGNIZED_SYSTEM_ID
See Also:
Constant Field Values
Constructor Detail

JDOParser.JDOEntityResolver

private JDOParser.JDOEntityResolver()
Method Detail

resolveEntity

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