本文整理了Java中com.hp.hpl.jena.graph.Graph.getCapabilities()
方法的一些代码示例,展示了Graph.getCapabilities()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graph.getCapabilities()
方法的具体详情如下:
包路径:com.hp.hpl.jena.graph.Graph
类名称:Graph
方法名:getCapabilities
[英]returns this Graph's capabilities
[中]返回此图表的功能
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-arq
@Override
public Capabilities getCapabilities()
{
return graph.getCapabilities() ;
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core
@Override
public Capabilities getCapabilities()
{ return base.getCapabilities(); }
代码示例来源:origin: org.appdapter/org.appdapter.lib.remote
@Override public Capabilities getCapabilities() {
return g.getCapabilities();
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core
@Override
public Capabilities getCapabilities() {
return (getBaseGraph() == null) ? super.getCapabilities() : getBaseGraph().getCapabilities();
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core
@Override
synchronized public void write(Model baseModel, Writer out, String base)
{
if (baseModel.getGraph().getCapabilities().findContractSafe() == false)
{
logger.warn( "Workaround for bugs 803804 and 858163: using RDF/XML (not RDF/XML-ABBREV) writer for unsafe graph " + baseModel.getGraph().getClass() );
baseModel.write( out, "RDF/XML", base );
}
else
super.write( baseModel, out, base );
}
代码示例来源:origin: org.apache.clerezza.ext/org.apache.jena.jena-core
if (m.getCapabilities().sizeAccurate()
&& m.size() < other.m.size() )
return null;
if (other.m.getCapabilities().sizeAccurate()
&& m.size() > other.m.size() )
return null;
内容来源于网络,如有侵权,请联系作者删除!