org.n52.security.common.xml
Class QuietEntityResolver
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuietEntityResolver
public QuietEntityResolver()
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.