Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » environment » [javadoc | source]
org.apache.cocoon.environment
public class: URLFactorySourceResolver [javadoc | source]
java.lang.Object
   org.apache.cocoon.environment.URLFactorySourceResolver

All Implemented Interfaces:
    SourceResolver

Deprecated! by - the new source resolving

A SourceResolver based on a URLFactory.
Field Summary
protected  ComponentManager manager    The component manager 
protected  URLFactory urlFactory    The URL factory 
Constructor:
 public URLFactorySourceResolver(ComponentManager manager) throws ComponentException 
    Creates an URLFactorySourceResolver with a component manager. The URLFactory is looked up in the 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.
Method from org.apache.cocoon.environment.URLFactorySourceResolver Summary:
release,   resolve,   resolveURI,   resolveURI,   toSAX,   toSAX
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.environment.URLFactorySourceResolver Detail:
 public  void release(Source source) 
      Deprecated!
    Releases a resolved resource
 public Source resolve(String systemID) throws IOException, SAXException, ProcessingException 
      Deprecated!
    Resolve the source.
 public Source resolveURI(String location) throws MalformedURLException, SourceException, IOException 
      Deprecated!
    Get a Source object.
 public Source resolveURI(String location,
    String baseURI,
    Map parameters) throws MalformedURLException, SourceException, IOException 
      Deprecated!
    Get a Source object.
 public  void toSAX(Source source,
    ContentHandler handler) throws IOException, SAXException, ProcessingException 
      Deprecated!
    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!
 public  void toSAX(Source source,
    String mimeTypeHint,
    ContentHandler handler) throws IOException, SAXException, ProcessingException 
      Deprecated!
    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!