|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.grails.web.pages.TagLibraryLookup
public class TagLibraryLookup
A class that is look-up tag library instances
| Constructor Summary | |
|---|---|
TagLibraryLookup()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
boolean |
doesTagReturnObject(String namespace,
String tagName)
|
Set<String> |
getAvailableNamespaces()
|
boolean |
hasNamespace(String namespace)
Returns whether the given namespace is in use |
NamespacedTagDispatcher |
lookupNamespaceDispatcher(String namespace)
Looks up a namespace dispatcher for the given namespace |
groovy.lang.GroovyObject |
lookupTagLibrary(String namespace,
String tagName)
Looks up a tag library for the given namespace and tag name |
void |
registerTagLib(GrailsTagLibClass taglib)
Registers a tag library for lookup. |
void |
setApplicationContext(ApplicationContext applicationContext)
|
void |
setGrailsApplication(GrailsApplication grailsApplication)
This method is called by the ApplicationContext that
loads the Grails application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TagLibraryLookup()
| Method Detail |
|---|
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void setGrailsApplication(GrailsApplication grailsApplication)
GrailsApplicationAwareThis method is called by the ApplicationContext that
loads the Grails application. The GrailsApplication instance that represents
the loaded Grails application is injected.
setGrailsApplication in interface GrailsApplicationAwaregrailsApplication - the GrailsApplication object that represents this Grails application
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void registerTagLib(GrailsTagLibClass taglib)
taglib - The taglib descriptor class.
public groovy.lang.GroovyObject lookupTagLibrary(String namespace,
String tagName)
namespace - The tag library namespacetagName - The tag name
public boolean doesTagReturnObject(String namespace,
String tagName)
public NamespacedTagDispatcher lookupNamespaceDispatcher(String namespace)
namespace - The namespace
public boolean hasNamespace(String namespace)
namespace - The namespace
public Set<String> getAvailableNamespaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||