Class JsonLdOptions

java.lang.Object
com.github.jsonldjava.core.JsonLdOptions

public class JsonLdOptions extends Object
The JsonLdOptions type as specified in the JSON-LD- API specification.
Author:
tristan
  • Field Details

  • Constructor Details

    • JsonLdOptions

      public JsonLdOptions()
      Constructs an instance of JsonLdOptions using an empty base.
    • JsonLdOptions

      public JsonLdOptions(String base)
      Constructs an instance of JsonLdOptions using the given base.
      Parameters:
      base - The base IRI for the document.
  • Method Details

    • copy

      public JsonLdOptions copy()
      Creates a shallow copy of this JsonLdOptions object. It will share the same DocumentLoader unless that is overridden, and other mutable objects, so it isn't immutable.
      Returns:
      A copy of this JsonLdOptions object.
    • getEmbed

      public String getEmbed()
    • setEmbed

      public void setEmbed(Boolean embed)
    • setEmbed

      public void setEmbed(String embed) throws JsonLdError
      Throws:
      JsonLdError
    • setEmbed

      public void setEmbed(JsonLdConsts.Embed embed) throws JsonLdError
      Throws:
      JsonLdError
    • getExplicit

      public Boolean getExplicit()
    • setExplicit

      public void setExplicit(Boolean explicit)
    • getOmitDefault

      public Boolean getOmitDefault()
    • setOmitDefault

      public void setOmitDefault(Boolean omitDefault)
    • getFrameExpansion

      public Boolean getFrameExpansion()
    • setFrameExpansion

      public void setFrameExpansion(Boolean frameExpansion)
    • getOmitGraph

      public Boolean getOmitGraph()
    • setOmitGraph

      public void setOmitGraph(Boolean omitGraph)
    • getPruneBlankNodeIdentifiers

      public Boolean getPruneBlankNodeIdentifiers()
    • setPruneBlankNodeIdentifiers

      public void setPruneBlankNodeIdentifiers(Boolean pruneBlankNodeIdentifiers)
    • getRequireAll

      public Boolean getRequireAll()
    • setRequireAll

      public void setRequireAll(Boolean requireAll)
    • getAllowContainerSetOnType

      public Boolean getAllowContainerSetOnType()
    • setAllowContainerSetOnType

      public void setAllowContainerSetOnType(Boolean allowContainerSetOnType)
    • getCompactArrays

      public Boolean getCompactArrays()
    • setCompactArrays

      public void setCompactArrays(Boolean compactArrays)
    • getExpandContext

      public Object getExpandContext()
    • setExpandContext

      public void setExpandContext(Object expandContext)
    • getProcessingMode

      public String getProcessingMode()
    • setProcessingMode

      public void setProcessingMode(String processingMode)
    • getBase

      public String getBase()
    • setBase

      public void setBase(String base)
    • getUseRdfType

      public Boolean getUseRdfType()
    • setUseRdfType

      public void setUseRdfType(Boolean useRdfType)
    • getUseNativeTypes

      public Boolean getUseNativeTypes()
    • setUseNativeTypes

      public void setUseNativeTypes(Boolean useNativeTypes)
    • getProduceGeneralizedRdf

      public boolean getProduceGeneralizedRdf()
    • setProduceGeneralizedRdf

      public void setProduceGeneralizedRdf(Boolean produceGeneralizedRdf)
    • getDocumentLoader

      public DocumentLoader getDocumentLoader()
    • setDocumentLoader

      public void setDocumentLoader(DocumentLoader documentLoader)