本文整理了Java中org.openrdf.model.impl.LiteralImpl.getLabel()
方法的一些代码示例,展示了LiteralImpl.getLabel()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LiteralImpl.getLabel()
方法的具体详情如下:
包路径:org.openrdf.model.impl.LiteralImpl
类名称:LiteralImpl
方法名:getLabel
LiteralImpl.getLabel介绍
暂无
代码示例
代码示例来源:origin: cumulusrdf/cumulusrdf
@Override
public String getLabel() {
if (!_has_data) {
load();
}
return super.getLabel();
}
代码示例来源:origin: cumulusrdf/cumulusrdf
@Override
public String getLabel() {
if (!_has_data) {
load();
}
return super.getLabel();
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public XMLGregorianCalendar calendarValue() {
return XMLDatatypeUtil.parseCalendar(getLabel());
}
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public boolean booleanValue() {
return XMLDatatypeUtil.parseBoolean(getLabel());
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public BigDecimal decimalValue() {
return XMLDatatypeUtil.parseDecimal(getLabel());
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public byte byteValue() {
return XMLDatatypeUtil.parseByte(getLabel());
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public int intValue() {
return XMLDatatypeUtil.parseInt(getLabel());
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public long longValue() {
return XMLDatatypeUtil.parseLong(getLabel());
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public short shortValue() {
return XMLDatatypeUtil.parseShort(getLabel());
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public float floatValue() {
return XMLDatatypeUtil.parseFloat(getLabel());
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public double doubleValue() {
return XMLDatatypeUtil.parseDouble(getLabel());
}
代码示例来源:origin: it.tidalwave.bluebill/it-tidalwave-android-org-openrdf-sesame-model
public BigInteger integerValue() {
return XMLDatatypeUtil.parseInteger(getLabel());
}
代码示例来源:origin: anno4j/anno4j
@Override
public Expr evaluate(NodeTest nodeTest, ElementGroup elementGroup, Var var, LDPathEvaluatorConfiguration evaluatorConfiguration) {
PathEqualityTest pathEqualityTest = (PathEqualityTest) nodeTest;
Var tmpVar = LDPathEvaluator.evaluate(pathEqualityTest.getPath(), elementGroup, var, evaluatorConfiguration);
if(pathEqualityTest.getNode() instanceof org.openrdf.model.impl.LiteralImpl) {
return new E_Equals(new ExprVar(tmpVar.asNode()), new NodeValueNode(NodeFactory.createLiteral(((LiteralImpl) pathEqualityTest.getNode()).getLabel().toString())));
} else {
return new E_Equals(new ExprVar(tmpVar.asNode()), new NodeValueNode(NodeFactory.createURI(pathEqualityTest.getNode().toString())));
}
}
}
代码示例来源:origin: blazegraph/database
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
代码示例来源:origin: blazegraph/database
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
代码示例来源:origin: blazegraph/database
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
代码示例来源:origin: com.blazegraph/bigdata-rdf-test
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
代码示例来源:origin: blazegraph/database
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
代码示例来源:origin: blazegraph/database
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
代码示例来源:origin: blazegraph/database
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {
assertExpectedHits(store, largeLiteral.getLabel(), null/*lang*/, //
.0f, // minCosine
new BigdataValue[] {