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 © 2014. All rights reserved.