org.fenfire.loom
Class RDFVocab

java.lang.Object
  |
  +--org.fenfire.loom.RDFVocab

public class RDFVocab
extends java.lang.Object

A class containing URIs from the rdf namespace. Instances of this class contain Property and Resource instances from a given Model (passed to the constructor).


Field Summary
protected  Model model
           
static java.lang.String namespace
           
 Property type
           
 
Constructor Summary
RDFVocab(Model model)
           
 
Method Summary
 Property _(int n)
          Get a property like rdf:_2, rdf:_7 etc.
static boolean isNumericProperty(Property p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected final Model model

namespace

public static final java.lang.String namespace
See Also:
Constant Field Values

type

public final Property type
Constructor Detail

RDFVocab

public RDFVocab(Model model)
         throws RDFException
Method Detail

_

public Property _(int n)
           throws RDFException
Get a property like rdf:_2, rdf:_7 etc.

RDFException

isNumericProperty

public static boolean isNumericProperty(Property p)