org.codehaus.groovy.grails.commons
Interface GrailsTagLibClass
- All Superinterfaces:
- GrailsClass, InjectableGrailsClass
- All Known Implementing Classes:
- DefaultGrailsTagLibClass
public interface GrailsTagLibClass
- extends InjectableGrailsClass
Represents a Grails tab library class
- Since:
- Jan 14, 2006
- Author:
- Graeme Rocher
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 |
DEFAULT_NAMESPACE
static final String DEFAULT_NAMESPACE
- See Also:
- Constant Field Values
SUPPORTS_CONTROLLER
static final String SUPPORTS_CONTROLLER
- The name of the application (ie global) tag library appropriate for all controller classes
- See Also:
- Constant Field Values
NAMESPACE_FIELD_NAME
static final String NAMESPACE_FIELD_NAME
- See Also:
- Constant Field Values
RETURN_OBJECT_FOR_TAGS_FIELD_NAME
static final String RETURN_OBJECT_FOR_TAGS_FIELD_NAME
- See Also:
- Constant Field Values
supportsController
boolean supportsController(GrailsControllerClass controllerClass)
- Whether this tag library supports the specified controller
- Parameters:
controllerClass
- The controllerClass to check
- Returns:
- True if the controller is supported
hasTag
boolean hasTag(String tagName)
- Parameters:
tagName
- The name of the tag
- Returns:
- Whether the tag library contains the specified tag
getTagNames
Set<String> getTagNames()
- Returns:
- The tag names in this library
getTagNamesThatReturnObject
Set<String> getTagNamesThatReturnObject()
getNamespace
String getNamespace()
- Returns:
- the namespace that this taglib occupies.
Copyright (c) 2005-2009 The Grails project