org.codehaus.plexus.summit.resolver
Class ClassicResolver

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.codehaus.plexus.summit.AbstractSummitComponent
          extended byorg.codehaus.plexus.summit.resolver.AbstractResolver
              extended byorg.codehaus.plexus.summit.resolver.ClassicResolver
All Implemented Interfaces:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.logging.LogEnabled, Resolver, SummitComponent

public class ClassicResolver
extends AbstractResolver

This resolving strategy emulates the Turbine 2.x process of matching a target up with:

The navigation views are stated explicitly in the layout view according to the resolving process in Turbine 2.x so this resolver doesn't have to do any work in this respect.

Version:
$Id: ClassicResolver.java 2083 2005-06-05 03:01:09Z jvanzyl $
Author:
Jason van Zyl

Field Summary
static java.lang.String LAYOUT_VIEW
          Tag for the layout view in the resolution.
static java.lang.String NAVIGATION_VIEW
          Tag for the navigation module in the resolution.
static java.lang.String RENDERER
          The renderer for this resolution
static java.lang.String SCREEN_VIEW
          Tag for the screen view in the resolution.
 
Fields inherited from interface org.codehaus.plexus.summit.resolver.Resolver
ROLE
 
Constructor Summary
ClassicResolver()
           
 
Method Summary
 Renderer getRenderer(java.lang.String target)
           
 Resolution resolve(java.lang.String target)
          Description of the Method
 
Methods inherited from class org.codehaus.plexus.summit.resolver.AbstractResolver
getDefaultView, getErrorView, getInitialView, getResultMessagesView, getView, getView, getView
 
Methods inherited from class org.codehaus.plexus.summit.AbstractSummitComponent
contextualize, getContainer, lookup, lookup
 
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
 

Field Detail

LAYOUT_VIEW

public static final java.lang.String LAYOUT_VIEW
Tag for the layout view in the resolution.

See Also:
Constant Field Values

NAVIGATION_VIEW

public static final java.lang.String NAVIGATION_VIEW
Tag for the navigation module in the resolution.

See Also:
Constant Field Values

SCREEN_VIEW

public static final java.lang.String SCREEN_VIEW
Tag for the screen view in the resolution.

See Also:
Constant Field Values

RENDERER

public static final java.lang.String RENDERER
The renderer for this resolution

See Also:
Constant Field Values
Constructor Detail

ClassicResolver

public ClassicResolver()
Method Detail

resolve

public Resolution resolve(java.lang.String target)
                   throws java.lang.Exception
Description of the Method

Throws:
java.lang.Exception

getRenderer

public Renderer getRenderer(java.lang.String target)
Specified by:
getRenderer in class AbstractResolver


Copyright © 2001-2007 Codehaus. All Rights Reserved.