Package org.apache.tapestry5.internal.parser

# Class ParameterToken

java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.parser.TemplateToken
org.apache.tapestry5.internal.parser.ParameterToken

All Implemented Interfaces:
  `Locatable`

public class ParameterToken extends TemplateToken
A parameter block to be passed to a component as a parameter.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final String`
  `name`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParameterToken(String name, Location location)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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`

- ## Field Details

  - ### name

    public final String name

- ## Constructor Details

  - ### ParameterToken

    public ParameterToken(String name, Location location)
    Parameters:
      `name` - the name of the parameter to be bound
      `location` - location of the element

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`