Package org.ametys.core.cocoon
Class RuntimeResourceReader.SourceResolverWrapper
- java.lang.Object
-
- org.ametys.core.cocoon.RuntimeResourceReader.SourceResolverWrapper
-
- All Implemented Interfaces:
Component
,SourceResolver
,SourceResolver
- Enclosing class:
- RuntimeResourceReader
class RuntimeResourceReader.SourceResolverWrapper extends Object implements SourceResolver
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SourceResolver
_res
-
Fields inherited from interface org.apache.excalibur.source.SourceResolver
METHOD, ROLE, URI_ENCODING, URI_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description SourceResolverWrapper(SourceResolver res)
Create a wrapper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
release(Source eSource)
Source
resolve(String systemID)
Source
resolveURI(String location)
Source
resolveURI(String location, String base, Map sParameters)
-
-
-
Field Detail
-
_res
SourceResolver _res
-
-
Constructor Detail
-
SourceResolverWrapper
public SourceResolverWrapper(SourceResolver res)
Create a wrapper- Parameters:
res
- The resolver to wrap
-
-
Method Detail
-
resolve
public Source resolve(String systemID) throws ProcessingException, SAXException, IOException
- Specified by:
resolve
in interfaceSourceResolver
- Throws:
ProcessingException
SAXException
IOException
-
release
public void release(Source eSource)
- Specified by:
release
in interfaceSourceResolver
-
resolveURI
public Source resolveURI(String location) throws MalformedURLException, IOException
- Specified by:
resolveURI
in interfaceSourceResolver
- Throws:
MalformedURLException
IOException
-
resolveURI
public Source resolveURI(String location, String base, Map sParameters) throws MalformedURLException, IOException
- Specified by:
resolveURI
in interfaceSourceResolver
- Throws:
MalformedURLException
IOException
-
-