|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingFactory
org.openanzo.atom.jastor.atomowl.Factory
public class Factory
Factory for instantiating objects for ontology classes in the ontology. The get methods leave the graph unchanged and return a Java view of the object in the graph. The create methods may add certain baseline properties to the graph such as rdf:type and any properties with hasValue restrictions.
(URI: http://bblfish.net/work/atom-owl/2006-06-06/#)
| Field Summary |
|---|
| Fields inherited from class org.openanzo.jastor.GraphThingFactory |
|---|
valueFactory |
| Constructor Summary | |
|---|---|
Factory()
|
|
| Method Summary | |
|---|---|
static Category |
createCategory(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Category. |
static Category |
createCategory(java.lang.String uri,
INamedGraph graph)
Create a new instance of Category. |
static Content |
createContent(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Content. |
static Content |
createContent(java.lang.String uri,
INamedGraph graph)
Create a new instance of Content. |
static Entry |
createEntry(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Entry. |
static Entry |
createEntry(java.lang.String uri,
INamedGraph graph)
Create a new instance of Entry. |
static Feed |
createFeed(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Feed. |
static Feed |
createFeed(java.lang.String uri,
INamedGraph graph)
Create a new instance of Feed. |
static FeedOrEntry |
createFeedOrEntry(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of FeedOrEntry. |
static FeedOrEntry |
createFeedOrEntry(java.lang.String uri,
INamedGraph graph)
Create a new instance of FeedOrEntry. |
static Generator |
createGenerator(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Generator. |
static Generator |
createGenerator(java.lang.String uri,
INamedGraph graph)
Create a new instance of Generator. |
static HTML |
createHTML(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of HTML. |
static HTML |
createHTML(java.lang.String uri,
INamedGraph graph)
Create a new instance of HTML. |
static Link |
createLink(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Link. |
static Link |
createLink(java.lang.String uri,
INamedGraph graph)
Create a new instance of Link. |
static Person |
createPerson(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Person. |
static Person |
createPerson(java.lang.String uri,
INamedGraph graph)
Create a new instance of Person. |
static PlainText |
createPlainText(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of PlainText. |
static PlainText |
createPlainText(java.lang.String uri,
INamedGraph graph)
Create a new instance of PlainText. |
static RelationType |
createRelationType(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of RelationType. |
static RelationType |
createRelationType(java.lang.String uri,
INamedGraph graph)
Create a new instance of RelationType. |
static TextContent |
createTextContent(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of TextContent. |
static TextContent |
createTextContent(java.lang.String uri,
INamedGraph graph)
Create a new instance of TextContent. |
static Version |
createVersion(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Version. |
static Version |
createVersion(java.lang.String uri,
INamedGraph graph)
Create a new instance of Version. |
static XHTML |
createXHTML(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of XHTML. |
static XHTML |
createXHTML(java.lang.String uri,
INamedGraph graph)
Create a new instance of XHTML. |
static XML |
createXML(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of XML. |
static XML |
createXML(java.lang.String uri,
INamedGraph graph)
Create a new instance of XML. |
static java.util.List<Category> |
getAllCategory(INamedGraph graph)
Return an instance of Category for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#Category |
static java.util.List<Content> |
getAllContent(INamedGraph graph)
Return an instance of Content for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#Content |
static java.util.List<Entry> |
getAllEntry(INamedGraph graph)
Return an instance of Entry for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#Entry |
static java.util.List<Feed> |
getAllFeed(INamedGraph graph)
Return an instance of Feed for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#Feed |
static java.util.List<FeedOrEntry> |
getAllFeedOrEntry(INamedGraph graph)
Return an instance of FeedOrEntry for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#FeedOrEntry |
static java.util.List<Generator> |
getAllGenerator(INamedGraph graph)
Return an instance of Generator for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#Generator |
static java.util.List<HTML> |
getAllHTML(INamedGraph graph)
Return an instance of HTML for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#HTML |
static java.util.List<Link> |
getAllLink(INamedGraph graph)
Return an instance of Link for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#Link |
static java.util.List<Person> |
getAllPerson(INamedGraph graph)
Return an instance of Person for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#Person |
static java.util.List<PlainText> |
getAllPlainText(INamedGraph graph)
Return an instance of PlainText for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#PlainText |
static java.util.List<RelationType> |
getAllRelationType(INamedGraph graph)
Return an instance of RelationType for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#RelationType |
static java.util.List<TextContent> |
getAllTextContent(INamedGraph graph)
Return an instance of TextContent for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#TextContent |
static java.util.List<Version> |
getAllVersion(INamedGraph graph)
Return an instance of Version for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#Version |
static java.util.List<XHTML> |
getAllXHTML(INamedGraph graph)
Return an instance of XHTML for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#XHTML |
static java.util.List<XML> |
getAllXML(INamedGraph graph)
Return an instance of XML for every resource in the model with rdf:Type http://bblfish.net/work/atom-owl/2006-06-06/#XML |
static Category |
getCategory(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Category. |
static Category |
getCategory(java.lang.String uri,
INamedGraph graph)
Create a new instance of Category. |
static Content |
getContent(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Content. |
static Content |
getContent(java.lang.String uri,
INamedGraph graph)
Create a new instance of Content. |
static Entry |
getEntry(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Entry. |
static Entry |
getEntry(java.lang.String uri,
INamedGraph graph)
Create a new instance of Entry. |
static Feed |
getFeed(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Feed. |
static Feed |
getFeed(java.lang.String uri,
INamedGraph graph)
Create a new instance of Feed. |
static FeedOrEntry |
getFeedOrEntry(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of FeedOrEntry. |
static FeedOrEntry |
getFeedOrEntry(java.lang.String uri,
INamedGraph graph)
Create a new instance of FeedOrEntry. |
static Generator |
getGenerator(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Generator. |
static Generator |
getGenerator(java.lang.String uri,
INamedGraph graph)
Create a new instance of Generator. |
static HTML |
getHTML(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of HTML. |
static HTML |
getHTML(java.lang.String uri,
INamedGraph graph)
Create a new instance of HTML. |
static Link |
getLink(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Link. |
static Link |
getLink(java.lang.String uri,
INamedGraph graph)
Create a new instance of Link. |
static Person |
getPerson(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Person. |
static Person |
getPerson(java.lang.String uri,
INamedGraph graph)
Create a new instance of Person. |
static PlainText |
getPlainText(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of PlainText. |
static PlainText |
getPlainText(java.lang.String uri,
INamedGraph graph)
Create a new instance of PlainText. |
static RelationType |
getRelationType(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of RelationType. |
static RelationType |
getRelationType(java.lang.String uri,
INamedGraph graph)
Create a new instance of RelationType. |
static TextContent |
getTextContent(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of TextContent. |
static TextContent |
getTextContent(java.lang.String uri,
INamedGraph graph)
Create a new instance of TextContent. |
static Version |
getVersion(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of Version. |
static Version |
getVersion(java.lang.String uri,
INamedGraph graph)
Create a new instance of Version. |
static XHTML |
getXHTML(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of XHTML. |
static XHTML |
getXHTML(java.lang.String uri,
INamedGraph graph)
Create a new instance of XHTML. |
static XML |
getXML(org.openrdf.model.Resource resource,
INamedGraph graph)
Create a new instance of XML. |
static XML |
getXML(java.lang.String uri,
INamedGraph graph)
Create a new instance of XML. |
static java.util.List |
listCompatibleInterfaces(org.openrdf.model.Resource type)
Return a list of compatible interfaces for the given type. |
| Methods inherited from class org.openanzo.jastor.GraphThingFactory |
|---|
clearCache, clearCaches, createGraphThing, createGraphThing, getGraphThing, getGraphThing |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Factory()
| Method Detail |
|---|
public static Feed createFeed(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Feedgraph - the Jena graph.
JastorException
public static Feed createFeed(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Feedgraph - the Jena graph.
JastorException
public static Feed getFeed(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Feedgraph - the Jena graph.
JastorException
public static Feed getFeed(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Feedgraph - the Jena graph.
JastorException
public static java.util.List<Feed> getAllFeed(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Content createContent(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Contentgraph - the Jena graph.
JastorException
public static Content createContent(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Contentgraph - the Jena graph.
JastorException
public static Content getContent(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Contentgraph - the Jena graph.
JastorException
public static Content getContent(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Contentgraph - the Jena graph.
JastorException
public static java.util.List<Content> getAllContent(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static XHTML createXHTML(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the XHTMLgraph - the Jena graph.
JastorException
public static XHTML createXHTML(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the XHTMLgraph - the Jena graph.
JastorException
public static XHTML getXHTML(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the XHTMLgraph - the Jena graph.
JastorException
public static XHTML getXHTML(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the XHTMLgraph - the Jena graph.
JastorException
public static java.util.List<XHTML> getAllXHTML(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static RelationType createRelationType(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the RelationTypegraph - the Jena graph.
JastorException
public static RelationType createRelationType(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the RelationTypegraph - the Jena graph.
JastorException
public static RelationType getRelationType(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the RelationTypegraph - the Jena graph.
JastorException
public static RelationType getRelationType(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the RelationTypegraph - the Jena graph.
JastorException
public static java.util.List<RelationType> getAllRelationType(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Category createCategory(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Categorygraph - the Jena graph.
JastorException
public static Category createCategory(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Categorygraph - the Jena graph.
JastorException
public static Category getCategory(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Categorygraph - the Jena graph.
JastorException
public static Category getCategory(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Categorygraph - the Jena graph.
JastorException
public static java.util.List<Category> getAllCategory(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static PlainText createPlainText(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the PlainTextgraph - the Jena graph.
JastorException
public static PlainText createPlainText(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the PlainTextgraph - the Jena graph.
JastorException
public static PlainText getPlainText(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the PlainTextgraph - the Jena graph.
JastorException
public static PlainText getPlainText(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the PlainTextgraph - the Jena graph.
JastorException
public static java.util.List<PlainText> getAllPlainText(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Entry createEntry(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Entrygraph - the Jena graph.
JastorException
public static Entry createEntry(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Entrygraph - the Jena graph.
JastorException
public static Entry getEntry(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Entrygraph - the Jena graph.
JastorException
public static Entry getEntry(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Entrygraph - the Jena graph.
JastorException
public static java.util.List<Entry> getAllEntry(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static FeedOrEntry createFeedOrEntry(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the FeedOrEntrygraph - the Jena graph.
JastorException
public static FeedOrEntry createFeedOrEntry(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the FeedOrEntrygraph - the Jena graph.
JastorException
public static FeedOrEntry getFeedOrEntry(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the FeedOrEntrygraph - the Jena graph.
JastorException
public static FeedOrEntry getFeedOrEntry(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the FeedOrEntrygraph - the Jena graph.
JastorException
public static java.util.List<FeedOrEntry> getAllFeedOrEntry(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Version createVersion(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Versiongraph - the Jena graph.
JastorException
public static Version createVersion(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Versiongraph - the Jena graph.
JastorException
public static Version getVersion(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Versiongraph - the Jena graph.
JastorException
public static Version getVersion(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Versiongraph - the Jena graph.
JastorException
public static java.util.List<Version> getAllVersion(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static TextContent createTextContent(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the TextContentgraph - the Jena graph.
JastorException
public static TextContent createTextContent(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the TextContentgraph - the Jena graph.
JastorException
public static TextContent getTextContent(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the TextContentgraph - the Jena graph.
JastorException
public static TextContent getTextContent(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the TextContentgraph - the Jena graph.
JastorException
public static java.util.List<TextContent> getAllTextContent(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static XML createXML(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the XMLgraph - the Jena graph.
JastorException
public static XML createXML(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the XMLgraph - the Jena graph.
JastorException
public static XML getXML(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the XMLgraph - the Jena graph.
JastorException
public static XML getXML(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the XMLgraph - the Jena graph.
JastorException
public static java.util.List<XML> getAllXML(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Generator createGenerator(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Generatorgraph - the Jena graph.
JastorException
public static Generator createGenerator(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Generatorgraph - the Jena graph.
JastorException
public static Generator getGenerator(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Generatorgraph - the Jena graph.
JastorException
public static Generator getGenerator(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Generatorgraph - the Jena graph.
JastorException
public static java.util.List<Generator> getAllGenerator(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static HTML createHTML(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the HTMLgraph - the Jena graph.
JastorException
public static HTML createHTML(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the HTMLgraph - the Jena graph.
JastorException
public static HTML getHTML(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the HTMLgraph - the Jena graph.
JastorException
public static HTML getHTML(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the HTMLgraph - the Jena graph.
JastorException
public static java.util.List<HTML> getAllHTML(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Link createLink(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Linkgraph - the Jena graph.
JastorException
public static Link createLink(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Linkgraph - the Jena graph.
JastorException
public static Link getLink(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Linkgraph - the Jena graph.
JastorException
public static Link getLink(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Linkgraph - the Jena graph.
JastorException
public static java.util.List<Link> getAllLink(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorException
public static Person createPerson(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Persongraph - the Jena graph.
JastorException
public static Person createPerson(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Persongraph - the Jena graph.
JastorException
public static Person getPerson(java.lang.String uri,
INamedGraph graph)
throws JastorException
uri - The uri of the Persongraph - the Jena graph.
JastorException
public static Person getPerson(org.openrdf.model.Resource resource,
INamedGraph graph)
throws JastorException
resource - The resource of the Persongraph - the Jena graph.
JastorException
public static java.util.List<Person> getAllPerson(INamedGraph graph)
throws JastorException
model - the Jena Model
JastorExceptionpublic static java.util.List listCompatibleInterfaces(org.openrdf.model.Resource type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||