org.apache.tapestry5.internal.parser
Class StartElementToken
java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.parser.TemplateToken
org.apache.tapestry5.internal.parser.StartElementToken
- All Implemented Interfaces:
- Locatable
public class StartElementToken
- extends TemplateToken
The start of an ordinary element within the template (as opposed to StartComponentToken,
which represents an active Tapestry token. A start element token may be immediately followed by AttributeTokens that represents the attributes associated with the element. A
start element token will always be balanced by a EndElementToken (though
there will likely be some amount of intermediate tokens).
StartElementToken
public StartElementToken(String namespaceURI,
String name,
Location location)
getName
public String getName()
- Returns local name for the element.
getNamespaceURI
public String getNamespaceURI()
- Returns:
- the namespace URI for the element, or the empty string for the default namespace
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.