public class SerializationContext extends Object
Constructor and Description |
---|
SerializationContext() |
SerializationContext(boolean usePlainLiterals) |
SerializationContext(PrefixMapping prefixMap) |
SerializationContext(PrefixMapping prefixMap,
boolean usePlainLiterals) |
SerializationContext(PrefixMapping prefixMap,
NodeToLabelMap bMap) |
SerializationContext(PrefixMapping prefixMap,
NodeToLabelMap bMap,
boolean usePlainLiterals) |
SerializationContext(Prologue prologue) |
SerializationContext(Prologue prologue,
boolean usePlainLiterals) |
SerializationContext(Prologue prologue,
NodeToLabelMap bMap) |
SerializationContext(Prologue prologue,
NodeToLabelMap bMap,
boolean usePlainLiterals) |
SerializationContext(SerializationContext cxt) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseIRI() |
NodeToLabelMap |
getBNodeMap() |
PrefixMapping |
getPrefixMapping() |
Prologue |
getPrologue() |
boolean |
getUsePlainLiterals()
Gets whether Plain Literal forms should be used for appropriate typed literals (booleans, integers, decimals and doubles)
|
void |
setBaseIRI(String baseIRI) |
void |
setBNodeMap(NodeToLabelMap nodeMap) |
void |
setPrefixMapping(PrefixMapping prefixMap) |
void |
setUsePlainLiterals(boolean usePlainLiterals)
Sets whether Plain Literal forms should be used for appropriate typed literals (booleans, integers, decimals and doubles)
|
public SerializationContext(SerializationContext cxt)
public SerializationContext(Prologue prologue)
public SerializationContext(PrefixMapping prefixMap)
public SerializationContext()
public SerializationContext(PrefixMapping prefixMap, NodeToLabelMap bMap)
public SerializationContext(Prologue prologue, NodeToLabelMap bMap)
public SerializationContext(boolean usePlainLiterals)
public SerializationContext(PrefixMapping prefixMap, boolean usePlainLiterals)
public SerializationContext(PrefixMapping prefixMap, NodeToLabelMap bMap, boolean usePlainLiterals)
public SerializationContext(Prologue prologue, boolean usePlainLiterals)
public SerializationContext(Prologue prologue, NodeToLabelMap bMap, boolean usePlainLiterals)
public NodeToLabelMap getBNodeMap()
public void setBNodeMap(NodeToLabelMap nodeMap)
nodeMap
- The bNodeMap to set.public PrefixMapping getPrefixMapping()
public void setPrefixMapping(PrefixMapping prefixMap)
prefixMap
- The prefixMap to set.public void setBaseIRI(String baseIRI)
baseIRI
- Set the base IRIpublic String getBaseIRI()
public Prologue getPrologue()
public boolean getUsePlainLiterals()
public void setUsePlainLiterals(boolean usePlainLiterals)
Licenced under the Apache License, Version 2.0