org.codehaus.plexus.summit.resolver
Class AbstractResolver
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.summit.AbstractSummitComponent
org.codehaus.plexus.summit.resolver.AbstractResolver
- All Implemented Interfaces:
- org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, Resolver, SummitComponent
- Direct Known Subclasses:
- ClassicResolver, SimpleResolver, TemplateRenderer
public abstract class AbstractResolver
- extends AbstractSummitComponent
- implements Resolver
The base class from which all Resolvers are derived.
- Version:
- $Id: AbstractResolver.java 2289 2005-07-11 04:22:34Z jvanzyl $
- Author:
- Jason van Zyl
| Fields inherited from interface org.codehaus.plexus.summit.resolver.Resolver |
ROLE |
|
Method Summary |
java.lang.String |
getDefaultView()
|
java.lang.String |
getErrorView()
|
java.lang.String |
getInitialView()
|
protected abstract Renderer |
getRenderer(java.lang.String target)
|
java.lang.String |
getResultMessagesView()
|
protected View |
getView(java.lang.String target)
Gets the view attribute of the AbstractResolver object |
protected View |
getView(java.lang.String target,
java.lang.String targetPrefix)
Gets the view attribute of the AbstractResolver object |
protected View |
getView(java.lang.String target,
java.lang.String targetPrefix,
java.lang.String defaultView)
Gets the view attribute of the AbstractResolver object |
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.plexus.summit.resolver.Resolver |
resolve |
AbstractResolver
public AbstractResolver()
getErrorView
public java.lang.String getErrorView()
- Specified by:
getErrorView in interface Resolver
getResultMessagesView
public java.lang.String getResultMessagesView()
- Specified by:
getResultMessagesView in interface Resolver
getDefaultView
public java.lang.String getDefaultView()
- Specified by:
getDefaultView in interface Resolver
getInitialView
public java.lang.String getInitialView()
- Specified by:
getInitialView in interface Resolver
getView
protected View getView(java.lang.String target)
throws java.lang.Exception
- Gets the view attribute of the AbstractResolver object
- Throws:
java.lang.Exception
getView
protected View getView(java.lang.String target,
java.lang.String targetPrefix)
throws java.lang.Exception
- Gets the view attribute of the AbstractResolver object
- Throws:
java.lang.Exception
getRenderer
protected abstract Renderer getRenderer(java.lang.String target)
throws java.lang.Exception
- Throws:
java.lang.Exception
getView
protected View getView(java.lang.String target,
java.lang.String targetPrefix,
java.lang.String defaultView)
throws java.lang.Exception
- Gets the view attribute of the AbstractResolver object
- Throws:
java.lang.Exception
Copyright © 2001-2006 Codehaus. All Rights Reserved.