JTP API Documentation

jtp.util
Class RDFObjectFactory

java.lang.Object
  |
  +--jtp.util.RDFObjectFactory
Direct Known Subclasses:
Configurator

public class RDFObjectFactory
extends Object

ObjectFactory.java Created: Sun Mar 25 00:52:32 2001


Field Summary
protected  com.hp.hpl.jena.rdf.model.Property CLASS_NAME
           
protected  com.hp.hpl.jena.rdf.model.Property DEFINING_OBJECT
           
protected  com.hp.hpl.jena.rdf.model.Property DEFINING_PROPERTY
           
protected  com.hp.hpl.jena.rdf.model.Property ELEMENTS
           
static String JAVA_NS
           
protected  com.hp.hpl.jena.rdf.model.Model model
           
protected  com.hp.hpl.jena.rdf.model.Resource OBJECT
           
protected  com.hp.hpl.jena.rdf.model.Resource PROPERTY
           
protected  com.hp.hpl.jena.rdf.model.Property PROPERTY_NAME
           
protected  com.hp.hpl.jena.rdf.model.Resource PROPERTY_VALUE
           
protected  Map resourceTable
           
protected  com.hp.hpl.jena.rdf.model.Property STRING_CONTENTS
           
 
Constructor Summary
RDFObjectFactory(com.hp.hpl.jena.rdf.model.Model model)
           
 
Method Summary
 Object get(com.hp.hpl.jena.rdf.model.Resource r)
           
 com.hp.hpl.jena.rdf.model.Model getModel()
           
 Collection getPropertyValues(com.hp.hpl.jena.rdf.model.Property pred, com.hp.hpl.jena.rdf.model.Resource subj)
           
 Map getResourceTable()
           
 com.hp.hpl.jena.rdf.model.RDFNode getSinglePropertyValue(com.hp.hpl.jena.rdf.model.Property pred, com.hp.hpl.jena.rdf.model.Resource subj)
           
 Object interpret(com.hp.hpl.jena.rdf.model.RDFNode node)
           
 Object put(com.hp.hpl.jena.rdf.model.Resource r, Object o)
           
 Object readObject(com.hp.hpl.jena.rdf.model.Resource r)
           
 void readObjects()
           
 Object readPropertyValue(com.hp.hpl.jena.rdf.model.Resource rsrc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected com.hp.hpl.jena.rdf.model.Model model

JAVA_NS

public static final String JAVA_NS
See Also:
Constant Field Values

CLASS_NAME

protected com.hp.hpl.jena.rdf.model.Property CLASS_NAME

STRING_CONTENTS

protected com.hp.hpl.jena.rdf.model.Property STRING_CONTENTS

PROPERTY_NAME

protected com.hp.hpl.jena.rdf.model.Property PROPERTY_NAME

ELEMENTS

protected com.hp.hpl.jena.rdf.model.Property ELEMENTS

DEFINING_OBJECT

protected com.hp.hpl.jena.rdf.model.Property DEFINING_OBJECT

DEFINING_PROPERTY

protected com.hp.hpl.jena.rdf.model.Property DEFINING_PROPERTY

OBJECT

protected com.hp.hpl.jena.rdf.model.Resource OBJECT

PROPERTY

protected com.hp.hpl.jena.rdf.model.Resource PROPERTY

PROPERTY_VALUE

protected com.hp.hpl.jena.rdf.model.Resource PROPERTY_VALUE

resourceTable

protected Map resourceTable
Constructor Detail

RDFObjectFactory

public RDFObjectFactory(com.hp.hpl.jena.rdf.model.Model model)
Method Detail

getResourceTable

public Map getResourceTable()

get

public Object get(com.hp.hpl.jena.rdf.model.Resource r)

put

public Object put(com.hp.hpl.jena.rdf.model.Resource r,
                  Object o)

getModel

public com.hp.hpl.jena.rdf.model.Model getModel()

getPropertyValues

public Collection getPropertyValues(com.hp.hpl.jena.rdf.model.Property pred,
                                    com.hp.hpl.jena.rdf.model.Resource subj)

getSinglePropertyValue

public com.hp.hpl.jena.rdf.model.RDFNode getSinglePropertyValue(com.hp.hpl.jena.rdf.model.Property pred,
                                                                com.hp.hpl.jena.rdf.model.Resource subj)

readObject

public Object readObject(com.hp.hpl.jena.rdf.model.Resource r)
                  throws ClassNotFoundException,
                         InstantiationException,
                         IllegalAccessException,
                         InvocationTargetException
ClassNotFoundException
InstantiationException
IllegalAccessException
InvocationTargetException

readPropertyValue

public Object readPropertyValue(com.hp.hpl.jena.rdf.model.Resource rsrc)
                         throws ClassNotFoundException,
                                IntrospectionException,
                                InstantiationException,
                                IllegalAccessException,
                                InvocationTargetException
ClassNotFoundException
IntrospectionException
InstantiationException
IllegalAccessException
InvocationTargetException

readObjects

public void readObjects()
                 throws ClassNotFoundException,
                        IntrospectionException,
                        InstantiationException,
                        IllegalAccessException,
                        InvocationTargetException
ClassNotFoundException
IntrospectionException
InstantiationException
IllegalAccessException
InvocationTargetException

interpret

public Object interpret(com.hp.hpl.jena.rdf.model.RDFNode node)
                 throws ClassNotFoundException,
                        IntrospectionException,
                        InstantiationException,
                        IllegalAccessException,
                        InvocationTargetException
ClassNotFoundException
IntrospectionException
InstantiationException
IllegalAccessException
InvocationTargetException

JTP API Documentation