Class QSSnakPrinter
- java.lang.Object
-
- org.openrefine.wikibase.exporters.QSSnakPrinter
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
reference
protected org.wikidata.wdtk.datamodel.interfaces.ValueVisitor<String>
valuePrinter
-
Constructor Summary
Constructors Constructor Description QSSnakPrinter(boolean reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
toQS(org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue property, String value)
String
visit(org.wikidata.wdtk.datamodel.interfaces.NoValueSnak snak)
String
visit(org.wikidata.wdtk.datamodel.interfaces.SomeValueSnak snak)
String
visit(org.wikidata.wdtk.datamodel.interfaces.ValueSnak snak)
-
-
-
Field Detail
-
reference
protected final boolean reference
-
valuePrinter
protected final org.wikidata.wdtk.datamodel.interfaces.ValueVisitor<String> valuePrinter
-
-
Method Detail
-
visit
public String visit(org.wikidata.wdtk.datamodel.interfaces.ValueSnak snak)
- Specified by:
visit
in interfaceorg.wikidata.wdtk.datamodel.interfaces.SnakVisitor<String>
-
visit
public String visit(org.wikidata.wdtk.datamodel.interfaces.SomeValueSnak snak)
- Specified by:
visit
in interfaceorg.wikidata.wdtk.datamodel.interfaces.SnakVisitor<String>
-
visit
public String visit(org.wikidata.wdtk.datamodel.interfaces.NoValueSnak snak)
- Specified by:
visit
in interfaceorg.wikidata.wdtk.datamodel.interfaces.SnakVisitor<String>
-
-