org.apache.tapestry5.internal.parser
Class StartElementToken

java.lang.Object
  extended by org.apache.tapestry5.ioc.BaseLocatable
      extended by org.apache.tapestry5.internal.parser.TemplateToken
          extended by 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).


Constructor Summary
StartElementToken(String namespaceURI, String name, Location location)
           
 
Method Summary
 String getName()
          Returns local name for the element.
 String getNamespaceURI()
           
 String toString()
           
 
Methods inherited from class org.apache.tapestry5.internal.parser.TemplateToken
getTokenType
 
Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartElementToken

public StartElementToken(String namespaceURI,
                         String name,
                         Location location)
Method Detail

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.