org.openeai.xml
Class IgnoreDTDResolver


java.lang.Object

  |

  +--org.openeai.OpenEaiObject

        |

        +--org.openeai.xml.IgnoreDTDResolver

All Implemented Interfaces:
org.xml.sax.EntityResolver

public class IgnoreDTDResolver
extends OpenEaiObject
implements org.xml.sax.EntityResolver

This class is used by the XmlDocumentReader class when XML validation is falsed. By using this class, we're able to avoid going to the Webserver to get the constraint information altogether.

Version:
3.0 beta2 - 28 January 2003
Author:
Tod Jackson (tod@openeai.org), Steve Wheat (steve@openeai.org)
See Also:
XmlDocumentReader

Field Summary
 
Fields inherited from class org.openeai.OpenEaiObject
logger
 
Constructor Summary
IgnoreDTDResolver()
          Constructor
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
          This method basically overrides the default behavior of going to the web server to retrieve the constraint information for an XML document being read.
 
Methods inherited from class org.openeai.OpenEaiObject
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreDTDResolver


public IgnoreDTDResolver()
Constructor

Method Detail

resolveEntity


public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
This method basically overrides the default behavior of going to the web server to retrieve the constraint information for an XML document being read.

Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
Returns:
InputSource the "dummy" constraint information.


Copyright © 2002, OpenEAI Software Foundation