ch.uzh.ifi.attempto.base
Class SimpleAbstractOption

java.lang.Object
  extended by ch.uzh.ifi.attempto.base.SimpleAbstractOption
All Implemented Interfaces:
AbstractOption

public class SimpleAbstractOption
extends java.lang.Object
implements AbstractOption

This is a simple implementation of an abstract option.

Author:
Tobias Kuhn

Constructor Summary
SimpleAbstractOption(java.lang.String categoryName)
          Creats a new abstract option for the given category name.
 
Method Summary
 java.lang.String getCategoryName()
          Returns the name of the category that represents possible next tokens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAbstractOption

public SimpleAbstractOption(java.lang.String categoryName)
Creats a new abstract option for the given category name.

Parameters:
categoryName - The category name.
Method Detail

getCategoryName

public java.lang.String getCategoryName()
Description copied from interface: AbstractOption
Returns the name of the category that represents possible next tokens.

Specified by:
getCategoryName in interface AbstractOption
Returns:
The category name.


Copyright 2008-2012, AceWiki developers