
Public Member Functions | |
| List< Tag<?> > | getTags () |
| String | getWord () |
| boolean | isTagged () |
| void | tag (Tag<?> newTag) |
| Token (String word) | |
| String | toString () |
| void | untag (Class<?> tagClass) |
Package Functions | |
| public< T extends Tag > T | getTag (Class< T > tagClass) |
| public< T extends Tag <?> > List< T > | getTags (Class< T > tagClass) |
Private Attributes | |
| List< Tag<?> > | _tags |
| String | _word |
| public<T extends Tag> T getTag | ( | Class< T > | tagClass | ) | [package] |
Return the Tag that matches the given class
| public<T extends Tag<?> > List<T> getTags | ( | Class< T > | tagClass | ) | [package] |
Return the Tag that matches the given class
| List<Tag<?> > getTags | ( | ) |
| String getWord | ( | ) |
| boolean isTagged | ( | ) |
Return true if this token has any tags
| void tag | ( | Tag<?> | newTag | ) |
Tag this token with the specified tag
| String toString | ( | ) |
| void untag | ( | Class<?> | tagClass | ) |
Remove all tags of the given class
List<Tag<?> > _tags [private] |
1.5.8