| java.lang.Object org.apache.cocoon.components.source.SourceResolverAdapter
SourceResolverAdapter | public class SourceResolverAdapter implements SourceResolver(Code) | | An adapter for the Excalibur SourceResolver.
version: CVS $Id: SourceResolverAdapter.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | release(org.apache.excalibur.source.Source source) | public Source | resolve(String systemID) Resolve the source. | public org.apache.excalibur.source.Source | resolveURI(String location) Get a Source object. | public org.apache.excalibur.source.Source | resolveURI(String location, String base, Map parameters) Get a Source object.
Parameters: location - - the URI to resolve. |
SourceResolverAdapter | public SourceResolverAdapter(org.apache.excalibur.source.SourceResolver resolver)(Code) | | |
release | public void release(org.apache.excalibur.source.Source source)(Code) | | Releases a resolved resource
|
resolveURI | public org.apache.excalibur.source.Source resolveURI(String location) throws MalformedURLException, IOException, org.apache.excalibur.source.SourceException(Code) | | Get a Source object.
This is a shortcut for resolve(location, null, null)
throws: org.apache.excalibur.source.SourceException - if the source cannot be resolved |
resolveURI | public org.apache.excalibur.source.Source resolveURI(String location, String base, Map parameters) throws MalformedURLException, IOException, org.apache.excalibur.source.SourceException(Code) | | Get a Source object.
Parameters: location - - the URI to resolve. If this is relative it is eitherresolved relative to the base parameter (if not null)or relative to a base setting of the source resolveritself. Parameters: base - - a base URI for resolving relative locations. Thisis optional and can be null . Parameters: parameters - - Additional parameters for the URI. The parametersare specific to the used protocol. throws: org.apache.excalibur.source.SourceException - if the source cannot be resolved |
|
|