|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.creole.morph.Variable
gate.creole.morph.CharacterSet
public class CharacterSet
Title:
Description:
Copyright: Copyright (c) 2003
Company:
Field Summary |
---|
Fields inherited from class gate.creole.morph.Variable |
---|
pointer, varName, varValue |
Constructor Summary | |
---|---|
CharacterSet()
Constructor |
Method Summary | |
---|---|
boolean |
contains(String value)
A method that tells if the characters of the provided value are from the characterSet only |
boolean |
hasNext()
Tells if any value available which can be retrieved |
String |
next()
Returns the next available value for this variable |
boolean |
set(String varName,
String varValue)
Process the provided value and stores in the underlying data structure |
Methods inherited from class gate.creole.morph.Variable |
---|
getPattern, resetPointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharacterSet()
Method Detail |
---|
public boolean hasNext()
hasNext
in class Variable
public String next()
next
in class Variable
public boolean set(String varName, String varValue)
set
in class Variable
varName
- name of the variablevarValue
- String that contains possible different values
public boolean contains(String value)
contains
in class Variable
value
- String of which the characters to be searched in the
characterSet
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |