| java.lang.Object org.apache.cocoon.environment.URLFactorySourceResolver
URLFactorySourceResolver | public class URLFactorySourceResolver implements SourceResolver(Code) | | A SourceResolver based on a URLFactory .
author: Sylvain Wallez version: CVS $Id: URLFactorySourceResolver.java 433543 2006-08-22 06:22:54Z crossley $ |
Constructor Summary | |
public | URLFactorySourceResolver(ComponentManager manager) Creates an URLFactorySourceResolver with a component manager. | public | URLFactorySourceResolver(URLFactory factory, ComponentManager manager) Creates an URLFactorySourceResolver with a component manager and
a URLFactory that will be used to resolve URLs. |
manager | protected ComponentManager manager(Code) | | The component manager
|
URLFactorySourceResolver | public URLFactorySourceResolver(ComponentManager manager) throws ComponentException(Code) | | Creates an URLFactorySourceResolver with a component manager.
The URLFactory is looked up in the component manager.
|
URLFactorySourceResolver | public URLFactorySourceResolver(URLFactory factory, ComponentManager manager)(Code) | | Creates an URLFactorySourceResolver with a component manager and
a URLFactory that will be used to resolve URLs.
|
release | public void release(org.apache.excalibur.source.Source source)(Code) | | Releases a resolved resource
|
toSAX | public void toSAX(org.apache.excalibur.source.Source source, ContentHandler handler) throws SAXException, IOException, ProcessingException(Code) | | Generates SAX events from the given source
NOTE : if the implementation can produce lexical events, care should be taken
that handler can actually
directly implement the LexicalHandler interface!
Parameters: source - the data throws: ProcessingException - if no suitable converter is found |
toSAX | public void toSAX(org.apache.excalibur.source.Source source, String mimeTypeHint, ContentHandler handler) throws SAXException, IOException, ProcessingException(Code) | | Generates SAX events from the given source
NOTE : if the implementation can produce lexical events, care should be taken
that handler can actually
directly implement the LexicalHandler interface!
Parameters: source - the data throws: ProcessingException - if no suitable converter is found |
|
|