org.rdfcontext.signing
Class RDFC14Ner
java.lang.Object
org.rdfcontext.signing.RDFC14Ner
- public class RDFC14Ner
- extends java.lang.Object
This object exctract a canonicalized representation of a RDF graph
- Author:
- Fabio Panaioli
|
Field Summary |
static com.hp.hpl.jena.graph.Node |
C14N_TRUE
|
static java.text.DecimalFormat |
sixDigitsFormat
|
static com.hp.hpl.jena.graph.Node |
TILDE
|
static com.hp.hpl.jena.graph.Node |
X
|
|
Constructor Summary |
RDFC14Ner(java.io.File rdffile,
java.lang.String base)
|
RDFC14Ner(java.io.InputStream rdfStream,
java.lang.String base)
Will create AND immediately canonize the graph |
RDFC14Ner(com.hp.hpl.jena.rdf.model.Model model)
|
RDFC14Ner(java.io.Reader rdfXml,
java.lang.String base)
Will create AND immediately canonicalize the graph |
RDFC14Ner(java.lang.String filePath,
java.lang.String base)
Will create AND immediately canonize the graph |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TILDE
public static final com.hp.hpl.jena.graph.Node TILDE
C14N_TRUE
public static final com.hp.hpl.jena.graph.Node C14N_TRUE
X
public static final com.hp.hpl.jena.graph.Node X
sixDigitsFormat
public static final java.text.DecimalFormat sixDigitsFormat
RDFC14Ner
public RDFC14Ner(java.lang.String filePath,
java.lang.String base)
throws java.io.FileNotFoundException
- Will create AND immediately canonize the graph
- Parameters:
filePath - the RDF file in RDF/XMLbase - see Jena model.read() documentation
- Throws:
java.io.FileNotFoundException
RDFC14Ner
public RDFC14Ner(java.io.InputStream rdfStream,
java.lang.String base)
- Will create AND immediately canonize the graph
- Parameters:
rdfStream - the RDF inputstream in RDF/XMLbase - see Jena model.read() documentation
RDFC14Ner
public RDFC14Ner(java.io.Reader rdfXml,
java.lang.String base)
- Will create AND immediately canonicalize the graph
- Parameters:
rdfXml - the RDF File (must be RDF/XML)base - see Jena model.read() documentation
RDFC14Ner
public RDFC14Ner(java.io.File rdffile,
java.lang.String base)
throws java.io.FileNotFoundException
RDFC14Ner
public RDFC14Ner(com.hp.hpl.jena.rdf.model.Model model)
getCanonicalString
public java.lang.String getCanonicalString()
- Returns:
- the canonical string