org.placidus.xml
Class IgnoreEntityResolver

java.lang.Object
  extended by org.placidus.xml.IgnoreEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

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

EntityResolver for parser to ignore entities. Necessary to turn of namespace lookups of entities wihtout direct internet connection.

Author:
ds

Constructor Summary
IgnoreEntityResolver()
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String arg0, java.lang.String arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreEntityResolver

public IgnoreEntityResolver()
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String arg0,
                                             java.lang.String arg1)
                                      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


Copyright © 2006 DS. All Rights Reserved.