Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ch.uzh.ifi.attempto.preditor.text
Class VarTextElement

    java.lang.Object
      ch.uzh.ifi.attempto.preditor.text.BasicTextElement
          ch.uzh.ifi.attempto.preditor.text.VarTextElement

All Implemented Interfaces:
  RefableTextElement, TextElement

    public class VarTextElement

extends BasicTextElement
implements RefableTextElement

This class represents referencable texts elements that contain a variable.

Author:
  Tobias Kuhn

Constructor Summary
`VarTextElement(java.lang.String varName, java.lang.String category)` Creates a new variable text element.

Method Summary
`java.lang.String` | `getReferenceText()` This method should return the text how a reference to this text element has to look like.

Methods inherited from class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
`checkNeighborTextElements, equals, getCategory, getText`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface ch.uzh.ifi.attempto.preditor.text.TextElement
`checkNeighborTextElements, equals, getCategory, getText`

Constructor Detail

### VarTextElement

    public VarTextElement(java.lang.String varName,
                          java.lang.String category)

  Creates a new variable text element.

  Parameters:
    `varName` - The name of the variable, e.g. "X".
    `category` - The category.

Method Detail

### getReferenceText

    public java.lang.String getReferenceText()

  Description copied from interface: `RefableTextElement`
  This method should return the text how a reference to this text element has to look like.

  Specified by:
    `getReferenceText` in interface `RefableTextElement`
  Returns:
    The text of a possible reference.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2008, Attempto Group, University of Zurich (see http://attempto.ifi.uzh.ch)