org.exolab.castor.builder.binding

Class BindingLoader.BindingResolver

class BindingLoader.BindingResolver extends Object implements EntityResolver

Method Summary
URLgetBaseURL()
InputSourceresolveEntity(String publicId, String systemId)
Code adapted from DTDResolver written by Assaf Arkin.
voidsetBaseURL(URL baseUrl)

Method Detail

getBaseURL

public URL getBaseURL()

resolveEntity

public InputSource resolveEntity(String publicId, String systemId)
Code adapted from DTDResolver written by Assaf Arkin.

Parameters: 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.

Returns: An InputSource object describing the new input source, or null to request that the parser open a regular URI connection to the system identifier.

Throws: 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.

See Also: DTDResolver org.xml.sax.EntityResolver#resolveEntity(java.lang.String, java.lang.String)

setBaseURL

public void setBaseURL(URL baseUrl)
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com