org.codehaus.groovy.grails.web.mapping
Class DefaultUrlMappingEvaluator.UrlMappingBuilder
java.lang.Object
groovy.lang.GroovyObjectSupport
org.codehaus.groovy.grails.web.mapping.DefaultUrlMappingEvaluator.UrlMappingBuilder
- All Implemented Interfaces:
- groovy.lang.GroovyObject
- Enclosing class:
- DefaultUrlMappingEvaluator
class DefaultUrlMappingEvaluator.UrlMappingBuilder
- extends groovy.lang.GroovyObjectSupport
A modal builder that constructs a UrlMapping instances by executing a closure. The class overrides
getProperty(name) and allows the substitution of GString values with the * wildcard.
invokeMethod(methodName, args) is also overriden for the creation of each UrlMapping instance
Methods inherited from class groovy.lang.GroovyObjectSupport |
getMetaClass, setMetaClass, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultUrlMappingEvaluator.UrlMappingBuilder
public DefaultUrlMappingEvaluator.UrlMappingBuilder(groovy.lang.Binding b)
DefaultUrlMappingEvaluator.UrlMappingBuilder
public DefaultUrlMappingEvaluator.UrlMappingBuilder()
getUrlMappings
public List getUrlMappings()
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class groovy.lang.GroovyObjectSupport
setAction
public void setAction(Object action)
getAction
public Object getAction()
setController
public void setController(String controller)
getController
public String getController()
getView
public String getView()
setView
public void setView(String viewName)
invokeMethod
public Object invokeMethod(String methodName,
Object arg)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class groovy.lang.GroovyObjectSupport
propertyMissing
void propertyMissing(String name,
Object value)
propertyMissing
Object propertyMissing(String name)
Copyright (c) 2005-2006 The Grails project