java.lang.Object
org.apache.jena.sparql.serializer.SerializationContext
Information needed to serialize things
-
Constructor Summary
ConstructorsConstructorDescriptionSerializationContext(boolean usePlainLiterals) SerializationContext(org.apache.jena.shared.PrefixMapping prefixMap) SerializationContext(org.apache.jena.shared.PrefixMapping prefixMap, boolean usePlainLiterals) SerializationContext(org.apache.jena.shared.PrefixMapping prefixMap, NodeToLabelMap bMap) SerializationContext(org.apache.jena.shared.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) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.shared.PrefixMappingbooleanGets whether Plain Literal forms should be used for appropriate typed literals (booleans, integers, decimals and doubles)voidsetBaseIRI(String baseIRI) voidsetBNodeMap(NodeToLabelMap nodeMap) voidsetPrefixMapping(org.apache.jena.shared.PrefixMapping prefixMap) voidsetUsePlainLiterals(boolean usePlainLiterals) Sets whether Plain Literal forms should be used for appropriate typed literals (booleans, integers, decimals and doubles)
-
Constructor Details
-
SerializationContext
-
SerializationContext
-
SerializationContext
public SerializationContext() -
SerializationContext
-
SerializationContext
public SerializationContext(boolean usePlainLiterals) -
SerializationContext
-
SerializationContext
-
-
Method Details
-
getBNodeMap
- Returns:
- Returns the bNodeMap.
-
setBNodeMap
- Parameters:
nodeMap- The bNodeMap to set.
-
getPrefixMapping
public org.apache.jena.shared.PrefixMapping getPrefixMapping()- Returns:
- Returns the prefixMap.
-
setBaseIRI
- Parameters:
baseIRI- Set the base IRI
-
getBaseIRI
-
getPrologue
-
getUsePlainLiterals
public boolean getUsePlainLiterals()Gets whether Plain Literal forms should be used for appropriate typed literals (booleans, integers, decimals and doubles) -
setUsePlainLiterals
public void setUsePlainLiterals(boolean usePlainLiterals) Sets whether Plain Literal forms should be used for appropriate typed literals (booleans, integers, decimals and doubles)
-