public class EPPSchemaCachingEntityResolver
extends java.lang.Object
implements org.apache.xerces.xni.parser.XMLEntityResolver, org.xml.sax.EntityResolver
Constructor and Description |
---|
EPPSchemaCachingEntityResolver(EPPSchemaCacher aSchemaCache)
Create a new instance of EPPSchemaCachingEntityResolver.
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String aPublicId,
java.lang.String aSystemId)
Resolves the entity passed in when parsing the instance document.
|
org.apache.xerces.xni.parser.XMLInputSource |
resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier aResourceIdentifier)
Implemented because of the XNI interface.
|
public EPPSchemaCachingEntityResolver(EPPSchemaCacher aSchemaCache)
aSchemaCache
- An instance of EPPSchemaCacher to call back on to
cache a schema once it loads it.public org.xml.sax.InputSource resolveEntity(java.lang.String aPublicId, java.lang.String aSystemId) throws org.xml.sax.SAXException, java.io.IOException
resolveEntity
in interface org.xml.sax.EntityResolver
aPublicId
- Public identifier of entityaSystemId
- System identifier of entityorg.xml.sax.SAXException
- Error locating the XML schemajava.io.IOException
- Other errororg.apache.xerces.xni.XNIException
- Error parsing the XML schemapublic org.apache.xerces.xni.parser.XMLInputSource resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier aResourceIdentifier) throws org.apache.xerces.xni.XNIException, java.io.IOException
resolveEntity
in interface org.apache.xerces.xni.parser.XMLEntityResolver
aResourceIdentifier
- The resource identifier that should be
resolved.org.apache.xerces.xni.XNIException
java.io.IOException
Copyright © VeriSign Inc. All Rights Reserved.