class ITemplateEventExtensions extends Object
Meta-programming extensions to the ITemplateEvent class.
| Constructor and description |
|---|
ITemplateEventExtensions() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static boolean |
isClosingElement(ITemplateEvent self)Returns whether or not this event represents an opening element. |
|
static boolean |
isClosingElementOf(ITemplateEvent self, String tagName)Returns whether or not this event represents a closing element of the given name. |
|
static boolean |
isOpeningElement(ITemplateEvent self)Returns whether or not this event represents an opening element. |
|
static boolean |
isOpeningElementOf(ITemplateEvent self, String tagName)Returns whether or not this event represents an opening element of the given name. |
|
static boolean |
isWhitespace(ITemplateEvent self)Returns whether or not this event represents collapsible whitespace. |
Returns whether or not this event represents an opening element.
true if this event is an opening tag.Returns whether or not this event represents a closing element of the given name.
true if this event is a closing tag and has the given
tag name.Returns whether or not this event represents an opening element.
true if this event is an opening tag.Returns whether or not this event represents an opening element of the given name.
true if this event is an opening tag and has the given
tag name.Returns whether or not this event represents collapsible whitespace.
true if this is a collapsible text node.