Class SerializationContext

java.lang.Object
org.apache.jena.sparql.serializer.SerializationContext

public class SerializationContext extends Object
Information needed to serialize things
  • Constructor Details

    • SerializationContext

      public SerializationContext(SerializationContext cxt)
    • SerializationContext

      public SerializationContext(Prologue prologue)
    • SerializationContext

      public SerializationContext(org.apache.jena.shared.PrefixMapping prefixMap)
    • SerializationContext

      public SerializationContext()
    • SerializationContext

      public SerializationContext(org.apache.jena.shared.PrefixMapping prefixMap, NodeToLabelMap bMap)
    • SerializationContext

      public SerializationContext(Prologue prologue, NodeToLabelMap bMap)
    • SerializationContext

      public SerializationContext(boolean usePlainLiterals)
    • SerializationContext

      public SerializationContext(org.apache.jena.shared.PrefixMapping prefixMap, boolean usePlainLiterals)
    • SerializationContext

      public SerializationContext(org.apache.jena.shared.PrefixMapping prefixMap, NodeToLabelMap bMap, boolean usePlainLiterals)
    • SerializationContext

      public SerializationContext(Prologue prologue, boolean usePlainLiterals)
    • SerializationContext

      public SerializationContext(Prologue prologue, NodeToLabelMap bMap, boolean usePlainLiterals)
  • Method Details

    • getBNodeMap

      public NodeToLabelMap getBNodeMap()
      Returns:
      Returns the bNodeMap.
    • setBNodeMap

      public void setBNodeMap(NodeToLabelMap nodeMap)
      Parameters:
      nodeMap - The bNodeMap to set.
    • getPrefixMapping

      public org.apache.jena.shared.PrefixMapping getPrefixMapping()
      Returns:
      Returns the prefixMap.
    • setPrefixMapping

      public void setPrefixMapping(org.apache.jena.shared.PrefixMapping prefixMap)
      Parameters:
      prefixMap - The prefixMap to set.
    • setBaseIRI

      public void setBaseIRI(String baseIRI)
      Parameters:
      baseIRI - Set the base IRI
    • getBaseIRI

      public String getBaseIRI()
    • getPrologue

      public Prologue 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)