thewebsemantic.binding
Class Jenabean
java.lang.Object
thewebsemantic.binding.Jenabean
public class Jenabean
- extends java.lang.Object
Method Summary |
Binding |
bind(com.hp.hpl.jena.ontology.OntClass oc)
|
void |
bind(com.hp.hpl.jena.ontology.OntModel m)
|
static boolean |
exists(java.lang.Class<?> c,
java.lang.String id)
|
java.lang.Class<?> |
getClass(java.lang.String uri)
|
java.lang.String |
getUri(java.lang.Class<?> c)
|
java.lang.String |
getUri(java.lang.Object bean)
|
static Includer |
include(java.lang.String s)
|
static Jenabean |
instance()
|
boolean |
isBound(java.lang.Class<?> c)
|
boolean |
isBound(com.hp.hpl.jena.ontology.OntClass c)
|
static
<E> java.util.Collection<E> |
|
load(java.lang.Class<E> c)
|
static
|
load(java.lang.Class<E> c,
int id)
|
static
|
load(java.lang.Class<E> c,
java.lang.String id)
|
com.hp.hpl.jena.ontology.OntModel |
model()
|
RDF2Bean |
reader()
|
protected void |
save(java.lang.Class<?> javaClass,
com.hp.hpl.jena.ontology.OntClass ontClass)
|
Bean2RDF |
writer()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static Jenabean instance()
bind
public void bind(com.hp.hpl.jena.ontology.OntModel m)
model
public com.hp.hpl.jena.ontology.OntModel model()
writer
public Bean2RDF writer()
reader
public RDF2Bean reader()
bind
public Binding bind(com.hp.hpl.jena.ontology.OntClass oc)
save
protected void save(java.lang.Class<?> javaClass,
com.hp.hpl.jena.ontology.OntClass ontClass)
isBound
public boolean isBound(java.lang.Class<?> c)
isBound
public boolean isBound(com.hp.hpl.jena.ontology.OntClass c)
getUri
public java.lang.String getUri(java.lang.Class<?> c)
getUri
public java.lang.String getUri(java.lang.Object bean)
getClass
public java.lang.Class<?> getClass(java.lang.String uri)
exists
public static boolean exists(java.lang.Class<?> c,
java.lang.String id)
load
public static <E> E load(java.lang.Class<E> c,
java.lang.String id)
throws NotFoundException
- Throws:
NotFoundException
load
public static <E> java.util.Collection<E> load(java.lang.Class<E> c)
load
public static <E> E load(java.lang.Class<E> c,
int id)
throws NotFoundException
- Throws:
NotFoundException
include
public static Includer include(java.lang.String s)