de.fuberlin.wiwiss.ng4j.swp.c14n
Class RDFC14NImpl
java.lang.Object
de.fuberlin.wiwiss.ng4j.swp.c14n.RDFC14NImpl
public class RDFC14NImpl
- extends Object
Method Summary |
ArrayList |
getCanonicalStringsArray()
This function will return an array list with a sequence of strings forming
the canonical reppresentation of the RDF that was fed
each string reppresent a triple and by joining them in the given order
the result can be used as needed for example in digital signatures. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TILDE
public static final Node TILDE
C14N_TRUE
public static final Node C14N_TRUE
C14N
public static final String C14N
- See Also:
- Constant Field Values
X
public static final Node X
RDFC14NImpl
public RDFC14NImpl(String rdf,
String base)
throws FileNotFoundException
- Will create AND immediately canonize the graph
- Parameters:
rdf
- the RDF file in RDF/XMLbase
- see Jena model.read() documentation
- Throws:
FileNotFoundException
RDFC14NImpl
public RDFC14NImpl(InputStream rdfStream,
String base)
- Will create AND immediately canonize the graph
- Parameters:
rdf
- the RDF inputstream in RDF/XMLbase
- see Jena model.read() documentation
RDFC14NImpl
public RDFC14NImpl(File rdffile,
String base)
throws FileNotFoundException
- Will create AND immediately canonize the graph
- Parameters:
rdf
- the RDF File (must be RDF/XML)base
- see Jena model.read() documentation
- Throws:
FileNotFoundException
RDFC14NImpl
public RDFC14NImpl(Model model)
getCanonicalStringsArray
public ArrayList getCanonicalStringsArray()
- This function will return an array list with a sequence of strings forming
the canonical reppresentation of the RDF that was fed
each string reppresent a triple and by joining them in the given order
the result can be used as needed for example in digital signatures.
- Returns:
- the canonical string list.