org.codehaus.groovy.grails.commons
Class DefaultGrailsTagLibClass
java.lang.Object
org.codehaus.groovy.grails.commons.AbstractGrailsClass
org.codehaus.groovy.grails.commons.AbstractInjectableGrailsClass
org.codehaus.groovy.grails.commons.DefaultGrailsTagLibClass
- All Implemented Interfaces:
- GrailsClass, GrailsTagLibClass, InjectableGrailsClass
public class DefaultGrailsTagLibClass
- extends AbstractInjectableGrailsClass
- implements GrailsTagLibClass
- Since:
- 14-Jan-2006
Default implementation of a tag lib class
- Author:
- Graeme Rocher
Methods inherited from class org.codehaus.groovy.grails.commons.AbstractGrailsClass |
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyDescriptors, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValueObject, getReference, getReferenceInstance, getShortName, hasMetaMethod, hasMetaMethod, hasMetaProperty, hasProperty, isReadableProperty, newInstance, toString |
Methods inherited from interface org.codehaus.groovy.grails.commons.GrailsClass |
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, newInstance |
TAG_LIB
protected static final String TAG_LIB
- See Also:
- Constant Field Values
DefaultGrailsTagLibClass
public DefaultGrailsTagLibClass(Class clazz)
Default contructor
- Parameters:
clazz
- the tag library class
supportsController
public boolean supportsController(GrailsControllerClass controllerClass)
- Description copied from interface:
GrailsTagLibClass
- Whether this tag library supports the specified controller
- Specified by:
supportsController
in interface GrailsTagLibClass
- Parameters:
controllerClass
- The controllerClass to check
- Returns:
- True if the controller is supported
hasTag
public boolean hasTag(String tagName)
- Specified by:
hasTag
in interface GrailsTagLibClass
- Parameters:
tagName
- The name of the tag
- Returns:
- Whether the tag library contains the specified tag
getTagNames
public Set getTagNames()
- Specified by:
getTagNames
in interface GrailsTagLibClass
- Returns:
- The tag names in this library
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interface GrailsTagLibClass
- Returns:
- the namespace that this taglib occupies.
getTagNamesThatReturnObject
public Set<String> getTagNamesThatReturnObject()
- Specified by:
getTagNamesThatReturnObject
in interface GrailsTagLibClass
Copyright (c) 2005-2009 The Grails project