org.apache.excalibur.source.impl
Class DefaultSourceResolver

java.lang.Object
  extended byorg.apache.excalibur.source.impl.AbstractSourceResolver
      extended byorg.apache.excalibur.source.impl.DefaultSourceResolver
All Implemented Interfaces:
SourceResolver

public class DefaultSourceResolver
extends AbstractSourceResolver

This is the default implemenation of a SourceResolver.

Version:
$Id: DefaultSourceResolver.java 521242 2007-03-22 12:53:01Z cziegeler $
Author:
Avalon Development Team

Field Summary
protected  org.apache.commons.logging.Log m_logger
          Logger
protected  java.util.Map m_sourceFactories
          The list of source factories.
 
Fields inherited from class org.apache.excalibur.source.impl.AbstractSourceResolver
m_baseURL
 
Fields inherited from interface org.apache.excalibur.source.SourceResolver
METHOD, ROLE, URI_ENCODING, URI_PARAMETERS
 
Constructor Summary
DefaultSourceResolver()
           
 
Method Summary
protected  void debug(java.lang.String text)
           
protected  SourceFactory getSourceFactory(java.lang.String protocol)
           
protected  boolean isDebugEnabled()
           
 void setSourceFactories(java.util.Map factories)
           
 
Methods inherited from class org.apache.excalibur.source.impl.AbstractSourceResolver
release, releaseSourceFactory, resolveURI, resolveURI, setBaseURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_logger

protected final org.apache.commons.logging.Log m_logger
Logger


m_sourceFactories

protected java.util.Map m_sourceFactories
The list of source factories.

Constructor Detail

DefaultSourceResolver

public DefaultSourceResolver()
Method Detail

setSourceFactories

public void setSourceFactories(java.util.Map factories)

getSourceFactory

protected SourceFactory getSourceFactory(java.lang.String protocol)
Specified by:
getSourceFactory in class AbstractSourceResolver
See Also:
AbstractSourceResolver.getSourceFactory(java.lang.String)

debug

protected void debug(java.lang.String text)
Overrides:
debug in class AbstractSourceResolver
See Also:
AbstractSourceResolver.debug(java.lang.String)

isDebugEnabled

protected boolean isDebugEnabled()
Overrides:
isDebugEnabled in class AbstractSourceResolver
See Also:
AbstractSourceResolver.isDebugEnabled()


Copyright © 1997-2007 Apache Software Foundation. All Rights Reserved.