T - the return type of the visitorpublic interface ValueVisitor<T>
The visitor does not distinguish several types of EntityIdValue,
since these are supposed to be extensible and therefore cannot be fixed in a
visitor interface.
| Modifier and Type | Method and Description |
|---|---|
T |
visit(DatatypeIdValue value)
Visits a DatatypeIdValue and returns a result.
|
T |
visit(EntityIdValue value)
Visits a EntityIdValue and returns a result.
|
T |
visit(GlobeCoordinatesValue value)
Visits a GlobeCoordinatesValue and returns a result.
|
T |
visit(MonolingualTextValue value)
Visits a MonolingualTextValue and returns a result.
|
T |
visit(QuantityValue value)
Visits a QuantityValue and returns a result.
|
T |
visit(StringValue value)
Visits a StringValue and returns a result.
|
T |
visit(TimeValue value)
Visits a TimeValue and returns a result.
|
T visit(DatatypeIdValue value)
value - the value to visitT visit(EntityIdValue value)
ItemIdValue and
PropertyIdValue. Since the set of possible subtypes can be
extended by extensions of Wikibase, the visitor only visits the general
(abstract) supertype. Implementations will have to decide if the given
specific type is supported and what to do with it.value - the value to visitT visit(GlobeCoordinatesValue value)
value - the value to visitT visit(MonolingualTextValue value)
value - the value to visitT visit(QuantityValue value)
value - the value to visitT visit(StringValue value)
value - the value to visitCopyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage