com.scooterframework.web.route
Class NamedRoute

java.lang.Object
  extended by com.scooterframework.web.route.Route
      extended by com.scooterframework.web.route.RegularRoute
          extended by com.scooterframework.web.route.NamedRoute
Direct Known Subclasses:
RootRoute

public class NamedRoute
extends RegularRoute

NamedRoute class


Field Summary
 
Fields inherited from class com.scooterframework.web.route.Route
action, allowed_formats, allowed_methods, controller, controllerClass, dynamicAction, dynamicController, dynamicFormat, format, id, name, namespace, pathPrefix, requirements, singular, urlPattern
 
Constructor Summary
protected NamedRoute()
           
  NamedRoute(java.lang.String name, java.util.Properties p)
           
 
Method Summary
 RouteInfo getRouteInfo(RequestInfo requestInfo)
           
 java.lang.String getRouteType()
           
 boolean isRouteFor(RequestInfo requestInfo)
           
protected  void validation()
           
 
Methods inherited from class com.scooterframework.web.route.Route
allowedFormats, allowedMethods, copy, getAction, getAllowedFormats, getAllowedMethods, getController, getControllerClass, getControllerClassName, getFormat, getId, getModel, getModelClassName, getName, getNamespace, getPathPrefix, getPathSegments, getRequiredFieldPositions, getRequirements, getScreenURL, getScreenURLPattern, getSingular, getURLPattern, getURLSegment, getViewPath, hasFormat, isAllowedFieldValue, isAllowedFormat, isAllowedMethod, parsePath, populateProperties, populateRequiredFields, segmentCount, toString, validateMethods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedRoute

protected NamedRoute()

NamedRoute

public NamedRoute(java.lang.String name,
                  java.util.Properties p)
Method Detail

getRouteType

public java.lang.String getRouteType()
Overrides:
getRouteType in class RegularRoute

isRouteFor

public boolean isRouteFor(RequestInfo requestInfo)
Overrides:
isRouteFor in class RegularRoute

getRouteInfo

public RouteInfo getRouteInfo(RequestInfo requestInfo)
Overrides:
getRouteInfo in class Route

validation

protected void validation()
Overrides:
validation in class Route