org.n52.security.common.xml
Class QuietEntityResolver

java.lang.Object
  extended by org.n52.security.common.xml.QuietEntityResolver
All Implemented Interfaces:
EntityResolver

public class QuietEntityResolver
extends Object
implements EntityResolver

Supresses the loading of entities in xml documents (like DTDs).

Version:
$Revision: $
Author:
Marko Reiprecht Created on 04.06.2008

Constructor Summary
QuietEntityResolver()
           
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
          Returns always an empty input source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuietEntityResolver

public QuietEntityResolver()
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
Returns always an empty input source.

Specified by:
resolveEntity in interface EntityResolver
Throws:
SAXException - if error occurs.
IOException - if error occurs.


Copyright © 2004–2013 52north.org. All rights reserved.