public class JsonLdOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_COMPACT_ARRAYS |
String |
format |
static String |
JSON_LD_1_0 |
static String |
JSON_LD_1_1 |
String |
outputForm |
Boolean |
useNamespaces |
| Constructor and Description |
|---|
JsonLdOptions()
Constructs an instance of JsonLdOptions using an empty base.
|
JsonLdOptions(String base)
Constructs an instance of JsonLdOptions using the given base.
|
public static final String JSON_LD_1_0
public static final String JSON_LD_1_1
public static final boolean DEFAULT_COMPACT_ARRAYS
public String format
public Boolean useNamespaces
public String outputForm
public JsonLdOptions()
public JsonLdOptions(String base)
base - The base IRI for the document.public String getEmbed()
public void setEmbed(Boolean embed)
public void setEmbed(String embed) throws JsonLdError
JsonLdErrorpublic Boolean getExplicit()
public void setExplicit(Boolean explicit)
public Boolean getOmitDefault()
public void setOmitDefault(Boolean omitDefault)
public Boolean getFrameExpansion()
public void setFrameExpansion(Boolean frameExpansion)
public Boolean getOmitGraph()
public void setOmitGraph(Boolean omitGraph)
public Boolean getPruneBlankNodeIdentifiers()
public void setPruneBlankNodeIdentifiers(Boolean pruneBlankNodeIdentifiers)
public Boolean getRequireAll()
public void setRequireAll(Boolean requireAll)
public Boolean getAllowContainerSetOnType()
public void setAllowContainerSetOnType(Boolean allowContainerSetOnType)
public Boolean getCompactArrays()
public void setCompactArrays(Boolean compactArrays)
public Object getExpandContext()
public void setExpandContext(Object expandContext)
public String getProcessingMode()
public void setProcessingMode(String processingMode)
public String getBase()
public void setBase(String base)
public Boolean getUseRdfType()
public void setUseRdfType(Boolean useRdfType)
public Boolean getUseNativeTypes()
public void setUseNativeTypes(Boolean useNativeTypes)
public boolean getProduceGeneralizedRdf()
public void setProduceGeneralizedRdf(Boolean produceGeneralizedRdf)
public DocumentLoader getDocumentLoader()
public void setDocumentLoader(DocumentLoader documentLoader)
Copyright © 2018. All rights reserved.