|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.grails.commons.ArtefactHandlerAdapter
org.codehaus.groovy.grails.commons.TagLibArtefactHandler
public class TagLibArtefactHandler
An ArtefactHandlerAdapter that configures tag libraries within namespaces in Grails
Field Summary | |
---|---|
static java.lang.String |
TYPE
|
Fields inherited from class org.codehaus.groovy.grails.commons.ArtefactHandlerAdapter |
---|
log |
Constructor Summary | |
---|---|
TagLibArtefactHandler()
|
Method Summary | |
---|---|
GrailsClass |
getArtefactForFeature(java.lang.Object feature)
This will look-up a tag library by using either a full qualified tag name such as g:link or via namespace such as "g" |
void |
initialize(ArtefactInfo artefacts)
Creates a map of tags (keyed on "${namespace}:${tagName}") to tag libraries |
Methods inherited from class org.codehaus.groovy.grails.commons.ArtefactHandlerAdapter |
---|
getType, isArtefact, isArtefactClass, isArtefactGrailsClass, newArtefactClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TYPE
Constructor Detail |
---|
public TagLibArtefactHandler()
Method Detail |
---|
public void initialize(ArtefactInfo artefacts)
initialize
in interface ArtefactHandler
initialize
in class ArtefactHandlerAdapter
artefacts
- The collection of artefact classes for this handlerpublic GrailsClass getArtefactForFeature(java.lang.Object feature)
getArtefactForFeature
in interface ArtefactHandler
getArtefactForFeature
in class ArtefactHandlerAdapter
feature
- The tag name or namespace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |