org.apache.tapestry5.internal.parser
Class AttributeToken

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.AttributeToken
All Implemented Interfaces:
Locatable

public class AttributeToken
extends TemplateToken

Stores an attribute/value pair (as part of an XML element).


Constructor Summary
AttributeToken(String namespaceURI, String name, String value, Location location)
           
 
Method Summary
 String getName()
          Returns local name for the attribute.
 String getNamespaceURI()
          Returns the namespace URI containing the attribute, or the empty string for the default namespace.
 String getValue()
          Returns the value for the attribute.
 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

AttributeToken

public AttributeToken(String namespaceURI,
                      String name,
                      String value,
                      Location location)
Method Detail

getName

public String getName()
Returns local name for the attribute.


getValue

public String getValue()
Returns the value for the attribute.


getNamespaceURI

public String getNamespaceURI()
Returns the namespace URI containing the attribute, 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.