org.xml.sax.EntityResolver
class BindingLoader.BindingResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
Constructor | Description |
---|---|
BindingResolver() |
Modifier and Type | Method | Description |
---|---|---|
java.net.URL |
getBaseURL() |
Returns the base URL for relative processing.
|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId) |
Code adapted from DTDResolver written by Assaf Arkin.
|
void |
setBaseURL(java.net.URL baseUrl) |
Sets a base URL for relative processing.
|
public void setBaseURL(java.net.URL baseUrl)
baseUrl
- Base URL for relative processing.public java.net.URL getBaseURL()
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- The public identifier of the external entity being
referenced, or null if none was supplied.systemId
- The system identifier of the external entity being
referenced.org.xml.sax.SAXException
- Any SAX exception, possibly wrapping
another exception.java.io.IOException
- A Java-specific IO exception, possibly
the result of creating a new InputStream or Reader for the
InputSource.DTDResolver.resolveEntity(java.lang.String,
java.lang.String)
,
EntityResolver.resolveEntity(java.lang.String,
java.lang.String)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com