public abstract class AbstractSPINResourceImpl extends SPINResourceImpl implements Printable
| Modifier and Type | Field and Description |
|---|---|
static String |
INDENTATION
One level of indentation (four spaces), used by toString methods
|
| Constructor and Description |
|---|
AbstractSPINResourceImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
List<Element> |
getElements() |
List<Element> |
getElements(org.apache.jena.rdf.model.Property predicate) |
List<org.apache.jena.rdf.model.RDFNode> |
getList(org.apache.jena.rdf.model.Property predicate) |
static boolean |
hasRDFType(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph,
org.apache.jena.rdf.model.Resource type) |
protected void |
printComment(PrintContext context) |
protected void |
printNestedElementList(PrintContext p) |
protected void |
printNestedElementList(PrintContext p,
org.apache.jena.rdf.model.Property predicate) |
protected void |
printNestedExpressionString(PrintContext context,
org.apache.jena.rdf.model.RDFNode node) |
protected void |
printNestedExpressionString(PrintContext p,
org.apache.jena.rdf.model.RDFNode node,
boolean force) |
protected void |
printPrefixes(PrintContext context) |
protected void |
printVariableExpression(PrintContext p,
Variable var)
Print a variable of variable-expression: ?V or (123 AS ?V)
|
protected void |
printVariableExpression(PrintContext p,
Variable var,
org.apache.jena.rdf.model.RDFNode expr)
Print a variable of variable-expression: ?V or (123 AS ?V)
|
static void |
printVarOrResource(PrintContext p,
org.apache.jena.rdf.model.Resource resource) |
String |
toString() |
getInteger, getLiteral, getLong, getRDFNode, getResource, getString, inferRDFNodeabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, visitWithas, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAsaddView, alreadyHasView, asInternal, supportsclone, finalize, getClass, notify, notifyAll, wait, wait, waitabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removePropertiespublic static final String INDENTATION
public AbstractSPINResourceImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph)
public String getComment()
public List<org.apache.jena.rdf.model.RDFNode> getList(org.apache.jena.rdf.model.Property predicate)
public static boolean hasRDFType(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph,
org.apache.jena.rdf.model.Resource type)
protected void printComment(PrintContext context)
protected void printNestedElementList(PrintContext p)
protected void printNestedElementList(PrintContext p, org.apache.jena.rdf.model.Property predicate)
protected void printVariableExpression(PrintContext p, Variable var)
protected void printVariableExpression(PrintContext p, Variable var, org.apache.jena.rdf.model.RDFNode expr)
protected void printNestedExpressionString(PrintContext context, org.apache.jena.rdf.model.RDFNode node)
protected void printNestedExpressionString(PrintContext p, org.apache.jena.rdf.model.RDFNode node, boolean force)
protected void printPrefixes(PrintContext context)
public String toString()
toString in interface org.apache.jena.rdf.model.RDFNodetoString in interface org.apache.jena.rdf.model.ResourcetoString in class org.apache.jena.rdf.model.impl.ResourceImplpublic static void printVarOrResource(PrintContext p, org.apache.jena.rdf.model.Resource resource)
Copyright © 2017 TopQuadrant, Inc.. All rights reserved.