org.topbraid.xml.rx
Class R2X

java.lang.Object
  extended by org.topbraid.xml.rx.R2X
All Implemented Interfaces:
RX

public class R2X
extends java.lang.Object
implements RX


Field Summary
 
Fields inherited from interface org.topbraid.xml.rx.RX
ADD, DATATYPE, ID, LABEL, LANG, LITERAL, OPTION, PROPERTY, REMOVE, RESOURCE, SET, SUBJECT
 
Constructor Summary
R2X()
           
 
Method Summary
static Element append(Node node, com.hp.hpl.jena.rdf.model.Resource resource)
           
static void appendPath(com.hp.hpl.jena.rdf.model.Model model, Element updateElement, java.lang.String path)
           
static void appendRDFNode(Element propertyElement, com.hp.hpl.jena.rdf.model.RDFNode object)
           
static void appendStatement(Element element, com.hp.hpl.jena.rdf.model.Statement s)
           
static void appendWithProperties(Node node, com.hp.hpl.jena.rdf.model.Resource resource)
           
static Document createDocument(com.hp.hpl.jena.rdf.model.Resource root)
           
static java.lang.String getId(com.hp.hpl.jena.rdf.model.Resource resource)
           
static java.lang.String getLabel(com.hp.hpl.jena.rdf.model.Resource resource)
           
static java.lang.String getLabelOrId(com.hp.hpl.jena.rdf.model.Resource resource)
           
static void setAttributes(Element element, com.hp.hpl.jena.rdf.model.RDFNode rdfNode)
           
static void setAttributes(Element element, com.hp.hpl.jena.rdf.model.RDFNode rdfNode, boolean literalLabels)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

R2X

public R2X()
Method Detail

append

public static Element append(Node node,
                             com.hp.hpl.jena.rdf.model.Resource resource)

appendRDFNode

public static void appendRDFNode(Element propertyElement,
                                 com.hp.hpl.jena.rdf.model.RDFNode object)

appendPath

public static void appendPath(com.hp.hpl.jena.rdf.model.Model model,
                              Element updateElement,
                              java.lang.String path)

appendStatement

public static void appendStatement(Element element,
                                   com.hp.hpl.jena.rdf.model.Statement s)

appendWithProperties

public static void appendWithProperties(Node node,
                                        com.hp.hpl.jena.rdf.model.Resource resource)

createDocument

public static Document createDocument(com.hp.hpl.jena.rdf.model.Resource root)

getId

public static java.lang.String getId(com.hp.hpl.jena.rdf.model.Resource resource)

getLabel

public static java.lang.String getLabel(com.hp.hpl.jena.rdf.model.Resource resource)

getLabelOrId

public static java.lang.String getLabelOrId(com.hp.hpl.jena.rdf.model.Resource resource)

setAttributes

public static void setAttributes(Element element,
                                 com.hp.hpl.jena.rdf.model.RDFNode rdfNode)

setAttributes

public static void setAttributes(Element element,
                                 com.hp.hpl.jena.rdf.model.RDFNode rdfNode,
                                 boolean literalLabels)