public abstract class KeywordSpecification extends Object
Constructor and Description |
---|
KeywordSpecification(String keyword,
ValueType type)
Sets up a KeywordSpecification that defines a type for the given keyword.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Comparator |
getDefaultComparator()
This returns a valid Comparator for this KeywordSpecification.
|
String |
getKeyword()
Returns the keyword.
|
ValueType |
getType()
Returns the specified type for that keyword.
|
int |
hashCode() |
String |
toString() |
boolean |
validate(Value value) |
public String getKeyword()
public ValueType getType()
public boolean validate(Value value)
value
- a value.public Comparator getDefaultComparator()
Copyright (C) 2013, 2014 Benjamin Paaßen, Charlie Krüger, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs