org.devaki.nextobjects.util
Class NODTDResolver

java.lang.Object
  extended byorg.devaki.nextobjects.util.NODTDResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

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

A resolver to get the database.dtd file for the XML parser from the jar.


Field Summary
static java.lang.String DTD_OLD_CDM
          the old CDM dtd
static java.lang.String DTD_OLD_PDM
          the link old PDM dtd
static java.lang.String WEB_SITE_DTD_CDM
          the link to CDM dtd
static java.lang.String WEB_SITE_DTD_PDM
          the link to PDM dtd
static java.lang.String WEB_SITE_DTD_TORQUE
          the link to Torque dtd
static java.lang.String WEB_SITE_DTD_TORQUE_NATIVE_3_0
          the old Torque dtd
static java.lang.String WEB_SITE_DTD_TORQUE_NATIVE_3_1
          the old PDM dtd
 
Constructor Summary
NODTDResolver()
          constructor do nothing
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
          called by the XML parser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEB_SITE_DTD_CDM

public static final java.lang.String WEB_SITE_DTD_CDM
the link to CDM dtd

See Also:
Constant Field Values

DTD_OLD_CDM

public static final java.lang.String DTD_OLD_CDM
the old CDM dtd

See Also:
Constant Field Values

WEB_SITE_DTD_PDM

public static final java.lang.String WEB_SITE_DTD_PDM
the link to PDM dtd

See Also:
Constant Field Values

DTD_OLD_PDM

public static final java.lang.String DTD_OLD_PDM
the link old PDM dtd

See Also:
Constant Field Values

WEB_SITE_DTD_TORQUE

public static final java.lang.String WEB_SITE_DTD_TORQUE
the link to Torque dtd

See Also:
Constant Field Values

WEB_SITE_DTD_TORQUE_NATIVE_3_0

public static final java.lang.String WEB_SITE_DTD_TORQUE_NATIVE_3_0
the old Torque dtd

See Also:
Constant Field Values

WEB_SITE_DTD_TORQUE_NATIVE_3_1

public static final java.lang.String WEB_SITE_DTD_TORQUE_NATIVE_3_1
the old PDM dtd

See Also:
Constant Field Values
Constructor Detail

NODTDResolver

public NODTDResolver()
constructor do nothing

Method Detail

resolveEntity

public final org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                                   java.lang.String systemId)
called by the XML parser

Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
Parameters:
publicId - the DTD public id
systemId - the DTD system Id
Returns:
an InputSource for the intake.dtd file


Copyright © 2002-2004 devaki.org. All Rights Reserved.