TemplateElement¶
-
public class
TemplateElement
¶ A TemplateElement represents a composing element of a template. There are two types of template elements:
- Text
- Template Tag
Author: Hugo Y. K. Lam See also:
Template
Methods¶
getName¶
getText¶
isText¶
-
public boolean
isText
()¶ Checks if this element is a text element.
Returns: true if this element is a text element.
toString¶
-
public String
toString
()¶ Returns a string representation of this element.
Returns: the text of this element if it is a text element or the element name otherwise. See also:
java.lang.Object.toString()