|
Franz Inc, AllegroGraph | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.enhanced.EnhGraph
com.hp.hpl.jena.rdf.model.impl.ModelCom
com.franz.agraph.jena.AGModel
public class AGModel
Implements the Jena Model interface for AllegroGraph.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hp.hpl.jena.shared.PrefixMapping |
|---|
com.hp.hpl.jena.shared.PrefixMapping.Factory, com.hp.hpl.jena.shared.PrefixMapping.IllegalPrefixException, com.hp.hpl.jena.shared.PrefixMapping.JenaLockedException |
| Field Summary |
|---|
| Fields inherited from interface com.hp.hpl.jena.shared.PrefixMapping |
|---|
Extended, Standard |
| Fields inherited from interface com.hp.hpl.jena.shared.Lock |
|---|
READ, WRITE |
| Constructor Summary | |
|---|---|
AGModel(AGGraph base)
|
|
| Method Summary | |
|---|---|
AGModel |
add(com.hp.hpl.jena.rdf.model.Statement[] statements)
|
com.hp.hpl.jena.rdf.model.Statement |
asStatement(com.hp.hpl.jena.graph.Triple t)
|
com.hp.hpl.jena.rdf.model.Resource |
createResource()
Returns a new blank node with an AG-allocated id. |
com.hp.hpl.jena.rdf.model.Resource |
createResource(com.hp.hpl.jena.rdf.model.AnonId id)
Returns a new blank node with the given (a.k.a "external") id. |
AGStatement |
createStatement(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
|
AGGraph |
getGraph()
|
AGModel |
read(InputStream reader,
String base)
|
AGModel |
read(InputStream reader,
String base,
String lang)
|
AGModel |
remove(com.hp.hpl.jena.rdf.model.Statement[] statements)
|
com.hp.hpl.jena.rdf.model.Model |
write(OutputStream out,
String lang)
Write a serialized representation of this model in a specified language. |
com.hp.hpl.jena.rdf.model.Model |
write(OutputStream out,
String lang,
String base)
Write a serialized representation of a model in a specified language. |
| Methods inherited from class com.hp.hpl.jena.rdf.model.impl.ModelCom |
|---|
abort, adapt, add, add, add, add, add, add, add, add, add, add, add, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addNamespaces, asFilter, asModel, asNode, asRDFNode, asStatements, asStatements, asStatements, begin, close, commit, contains, contains, contains, contains, contains, containsAll, containsAll, containsAny, containsAny, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsResource, createAlt, createAlt, createBag, createBag, createList, createList, createList, createLiteral, createLiteral, createLiteral, createLiteral, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createProperty, createProperty, createReifiedStatement, createReifiedStatement, createResource, createResource, createResource, createResource, createResource, createSeq, createSeq, createStatement, createStatement, createStatement, createStatement, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, difference, enterCriticalSection, executeInTransaction, expandPrefix, findTriplesFrom, getAlt, getAlt, getAnyReifiedStatement, getBag, getBag, getDefaultModelPrefixes, getHiddenStatements, getLock, getModelLock, getNsPrefixMap, getNsPrefixURI, getNsURIPrefix, getProperty, getProperty, getProperty, getRDFNode, getReader, getReader, getReificationStyle, getRequiredProperty, getResource, getResource, getSeq, getSeq, getWriter, getWriter, independent, intersect, intersection, isClosed, isEmpty, isIsomorphicWith, isReified, leaveCriticalSection, listBySubject, listLiteralStatements, listLiteralStatements, listLiteralStatements, listLiteralStatements, listLiteralStatements, listNameSpaces, listObjects, listObjectsOfProperty, listObjectsOfProperty, listReifiedStatements, listReifiedStatements, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listStatements, listStatements, listStatements, listStatements, listStatements, listSubjects, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, lock, notifyEvent, qnameFor, query, read, read, read, read, read, register, reifiedToString, remove, remove, remove, remove, remove, remove, removeAll, removeAll, removeAllReifications, removeNsPrefix, removeReader, removeReification, removeWriter, resetRDFReaderF, resetRDFWriterF, samePrefixMappingAs, setDefaultModelPrefixes, setNsPrefix, setNsPrefixes, setNsPrefixes, setReaderClassName, setWriterClassName, shortForm, size, supportsSetOperations, supportsTransactions, toString, union, unregister, withDefaultMappings, wrapAsResource, write, write, write, write |
| Methods inherited from class com.hp.hpl.jena.enhanced.EnhGraph |
|---|
asGraph, equals, getNodeAs, getNodeCacheControl, hashCode, isIsomorphicWith, setNodeCache |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.Model |
|---|
abort, add, add, add, add, add, begin, close, commit, contains, contains, contains, containsAll, containsAll, containsAny, containsAny, containsResource, createList, createList, createList, createLiteral, createLiteral, createProperty, createReifiedStatement, createReifiedStatement, createResource, createTypedLiteral, createTypedLiteral, createTypedLiteral, difference, equals, executeInTransaction, getAnyReifiedStatement, getLock, getProperty, getProperty, getReificationStyle, getRequiredProperty, getResource, independent, intersection, isClosed, isEmpty, isIsomorphicWith, isReified, listNameSpaces, listObjects, listObjectsOfProperty, listObjectsOfProperty, listReifiedStatements, listReifiedStatements, listResourcesWithProperty, listResourcesWithProperty, listStatements, listStatements, listStatements, listSubjects, listSubjectsWithProperty, listSubjectsWithProperty, notifyEvent, query, read, read, read, read, read, register, remove, remove, removeAll, removeAll, removeAllReifications, removeReification, size, supportsSetOperations, supportsTransactions, union, unregister, write, write, write, write |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.ModelCon |
|---|
add, add, add, add, add, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, contains, contains, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, createAlt, createAlt, createBag, createBag, createLiteral, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createProperty, createResource, createResource, createResource, createResource, createSeq, createSeq, createStatement, createStatement, createStatement, createStatement, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, getAlt, getAlt, getBag, getBag, getProperty, getRDFNode, getResource, getSeq, getSeq, listLiteralStatements, listLiteralStatements, listLiteralStatements, listLiteralStatements, listLiteralStatements, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listStatements, listStatements, listSubjectsWithProperty, listSubjectsWithProperty, remove, remove, remove, remove |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.ModelGraphInterface |
|---|
asRDFNode, wrapAsResource |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFReaderF |
|---|
getReader, getReader, removeReader, resetRDFReaderF, setReaderClassName |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFWriterF |
|---|
getWriter, getWriter, removeWriter, resetRDFWriterF, setWriterClassName |
| Methods inherited from interface com.hp.hpl.jena.shared.PrefixMapping |
|---|
expandPrefix, getNsPrefixMap, getNsPrefixURI, getNsURIPrefix, lock, qnameFor, removeNsPrefix, samePrefixMappingAs, setNsPrefix, setNsPrefixes, setNsPrefixes, shortForm, withDefaultMappings |
| Methods inherited from interface com.hp.hpl.jena.shared.Lock |
|---|
enterCriticalSection, leaveCriticalSection |
| Methods inherited from interface com.franz.util.Closeable |
|---|
close |
| Constructor Detail |
|---|
public AGModel(AGGraph base)
| Method Detail |
|---|
public AGGraph getGraph()
getGraph in interface com.hp.hpl.jena.rdf.model.ModelGraphInterfacegetGraph in class com.hp.hpl.jena.rdf.model.impl.ModelCom
public AGModel read(InputStream reader,
String base)
read in interface com.hp.hpl.jena.rdf.model.Modelread in class com.hp.hpl.jena.rdf.model.impl.ModelCom
public AGModel read(InputStream reader,
String base,
String lang)
read in interface com.hp.hpl.jena.rdf.model.Modelread in class com.hp.hpl.jena.rdf.model.impl.ModelCom
public com.hp.hpl.jena.rdf.model.Model write(OutputStream out,
String lang)
Write a serialized representation of this model in a specified language.
The language in which to write the model is specified by the
lang argument. Predefined values are "RDF/XML",
"RDF/XML-ABBREV", "N-TRIPLE", "N-QUADS", "TURTLE", (and "TTL") and "N3". The default value,
represented by null, is "RDF/XML".
write in interface com.hp.hpl.jena.rdf.model.Modelwrite in class com.hp.hpl.jena.rdf.model.impl.ModelComout - The output stream to which the RDF is writtenlang - The output language
public com.hp.hpl.jena.rdf.model.Model write(OutputStream out,
String lang,
String base)
Write a serialized representation of a model in a specified language.
The language in which to write the model is specified by the
lang argument. Predefined values are "RDF/XML",
"RDF/XML-ABBREV", "N-TRIPLE", "N-QUADS", "TURTLE", (and "TTL") and "N3". The default value,
represented by null, is "RDF/XML".
write in interface com.hp.hpl.jena.rdf.model.Modelwrite in class com.hp.hpl.jena.rdf.model.impl.ModelComout - The output stream to which the RDF is writtenbase - The base uri to use when writing relative URI's. null
means use only absolute URI's. This is used for relative
URIs that would be resolved against the document retrieval URL.
For some values of lang, this value may be included in the output.lang - The language in which the RDF should be written
public com.hp.hpl.jena.rdf.model.Resource createResource()
createResource in interface com.hp.hpl.jena.rdf.model.ModelcreateResource in class com.hp.hpl.jena.rdf.model.impl.ModelComAGHttpRepoClient.setAllowExternalBlankNodeIds(boolean),
AGRepositoryConnection.getHttpRepoClient()public com.hp.hpl.jena.rdf.model.Resource createResource(com.hp.hpl.jena.rdf.model.AnonId id)
createResource in interface com.hp.hpl.jena.rdf.model.ModelcreateResource in class com.hp.hpl.jena.rdf.model.impl.ModelComAGHttpRepoClient.setAllowExternalBlankNodeIds(boolean),
AGRepositoryConnection.getHttpRepoClient()public AGModel add(com.hp.hpl.jena.rdf.model.Statement[] statements)
add in interface com.hp.hpl.jena.rdf.model.Modeladd in class com.hp.hpl.jena.rdf.model.impl.ModelCompublic AGModel remove(com.hp.hpl.jena.rdf.model.Statement[] statements)
remove in interface com.hp.hpl.jena.rdf.model.Modelremove in class com.hp.hpl.jena.rdf.model.impl.ModelCom
public AGStatement createStatement(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p,
com.hp.hpl.jena.rdf.model.RDFNode o)
createStatement in interface com.hp.hpl.jena.rdf.model.ModelcreateStatement in class com.hp.hpl.jena.rdf.model.impl.ModelCompublic com.hp.hpl.jena.rdf.model.Statement asStatement(com.hp.hpl.jena.graph.Triple t)
asStatement in interface com.hp.hpl.jena.rdf.model.ModelGraphInterfaceasStatement in class com.hp.hpl.jena.rdf.model.impl.ModelCom
|
Copyright © 2008-2016 Franz Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||