play.templates
Class TagContext
java.lang.Object
play.templates.TagContext
public class TagContext
- extends java.lang.Object
Tag Context (retrieve who call you)
Field Summary |
java.util.Map<java.lang.String,java.lang.Object> |
data
|
java.lang.String |
tagName
|
Constructor Summary |
TagContext(java.lang.String tagName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
tagName
public java.lang.String tagName
data
public java.util.Map<java.lang.String,java.lang.Object> data
TagContext
public TagContext(java.lang.String tagName)
init
public static void init()
enterTag
public static void enterTag(java.lang.String name)
exitTag
public static void exitTag()
current
public static TagContext current()
parent
public static TagContext parent()
hasParentTag
public static boolean hasParentTag(java.lang.String name)
parent
public static TagContext parent(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly