info.informatica.doc.xml.dtd
Class DefaultEntityResolver
java.lang.Object
info.informatica.doc.xml.dtd.DefaultEntityResolver
- All Implemented Interfaces:
- EntityResolver, EntityResolver2
public class DefaultEntityResolver
- extends Object
- implements EntityResolver2
Implements EntityResolver2.
- Author:
- Carlos Amengual (amengual at informatica.info)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dtdNameToFilename
protected Map<String,String> dtdNameToFilename
dtdNameToURL
protected Map<String,String> dtdNameToURL
DefaultEntityResolver
public DefaultEntityResolver()
setClassLoader
public void setClassLoader(ClassLoader loader)
getExternalSubset
public InputSource getExternalSubset(String name,
String baseURI)
throws SAXException,
IOException
- Specified by:
getExternalSubset in interface EntityResolver2
- Throws:
SAXException
IOException
resolveEntity
public InputSource resolveEntity(String name,
String publicId,
String baseURI,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity in interface EntityResolver2
- Throws:
SAXException
IOException
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity in interface EntityResolver
- Throws:
SAXException
IOException
resolveEntity
public InputSource resolveEntity(DocumentTypeDeclaration dtDecl)
throws SAXException,
IOException
- Throws:
SAXException
IOException
resolveEntity
public InputSource resolveEntity(String documentTypeDeclaration)
throws SAXException,
IOException
- Throws:
SAXException
IOException
Copyright © 2011 informatica.info. All Rights Reserved.