|
|||||||||||
| 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.CharacterRange
Title:
Description:
Copyright: Copyright (c) 2003
Company:
| Field Summary | |
private char[] |
varChars
|
| Fields inherited from class gate.creole.morph.Variable |
pointer, varName, varValue |
| Constructor Summary | |
CharacterRange()
Constructor |
|
| Method Summary | |
boolean |
contains(String value)
A method that tells if the characters of the provided value are from the character range 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 |
| Field Detail |
private char[] varChars
| Constructor Detail |
public CharacterRange()
| Method Detail |
public boolean hasNext()
hasNext in class Variablepublic String next()
next in class Variable
public boolean set(String varName,
String varValue)
set in class VariablevarName - name of the variablevarValue - String that contains possible different values
public boolean contains(String value)
contains in class Variablevalue - String of which the characters to be searched in the
character range
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||