public class RDFNodeSerializer extends Object
id
notationConstructor and Description |
---|
RDFNodeSerializer() |
Modifier and Type | Method and Description |
---|---|
static ARTBNode |
createBNode(String bnode) |
static ARTLiteral |
createLiteral(String literal,
PrefixMapping map) |
static ARTNode |
createNode(PrefixMapping map,
String node) |
static ARTResource |
createResource(PrefixMapping map,
String resource) |
static ARTURIResource |
createURI(PrefixMapping map,
String QNameOrURI) |
static boolean |
isBlank(String serNode) |
static boolean |
isLiteral(String serNode) |
static boolean |
isName(String nodeName) |
static boolean |
isResource(String serNode) |
static String |
toNT(ARTBNode node)
NTRIPLES format for the serialization of nodes.
|
static String |
toNT(ARTLiteral node)
NTRIPLES format for the serialization of nodes.
|
static String |
toNT(ARTNode node)
NTRIPLES format for the serialization of nodes.
|
static String |
toNT(ARTResource node)
NTRIPLES format for the serialization of nodes.
|
static String |
toNT(ARTURIResource node)
NTRIPLES format for the serialization of nodes.
|
public static String toNT(ARTURIResource node)
node
- id
notation, for literals:
literalvalue[^^<datatype>|@languagetag]public static String toNT(ARTBNode node)
node
- id
notation, for literals:
"literalvalue"[^^<datatype>|@languagetag]public static String toNT(ARTLiteral node)
node
- id
notation, for literals:
"literalvalue"[^^<datatype>|@languagetag]public static String toNT(ARTResource node)
node
- id
notation, for literals:
"literalvalue"[^^<datatype>|@languagetag]public static String toNT(ARTNode node)
node
- id
notation, for literals:
"literalvalue"[^^<datatype>|@languagetag]public static ARTLiteral createLiteral(String literal, PrefixMapping map) throws ModelAccessException
ModelAccessException
public static ARTURIResource createURI(PrefixMapping map, String QNameOrURI) throws ModelAccessException
ModelAccessException
public static ARTBNode createBNode(String bnode) throws ModelAccessException
ModelAccessException
public static ARTResource createResource(PrefixMapping map, String resource) throws ModelAccessException
ModelAccessException
public static ARTNode createNode(PrefixMapping map, String node) throws ModelAccessException
ModelAccessException
public static boolean isName(String nodeName)
public static boolean isBlank(String serNode)
public static boolean isResource(String serNode)
public static boolean isLiteral(String serNode)
Copyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.