public interface RdfCommon
RdfSerializer
and RdfParser
classes.Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
LANG_PROP_MAP
Maps RDF writer names to property prefixes that apply to them.
|
static String |
PREFIX
Property prefix.
|
static String |
RDF_arp_embedding
Configuration property: RDF/XML ARP property:
|
static String |
RDF_arp_err_
Configuration property: RDF/XML ARP property:
|
static String |
RDF_arp_errorMode
Configuration property: RDF/XML ARP property:
|
static String |
RDF_arp_ign_
RDF/XML ARP property:
|
static String |
RDF_arp_iriRules
Configuration property: RDF/XML property:
|
static String |
RDF_arp_warn_
Configuration property: RDF/XML ARP property:
|
static String |
RDF_collectionFormat
Configuration property: RDF format for representing collections and arrays.
|
static String |
RDF_juneauBpNs
Configuration property: Default XML namespace for bean properties.
|
static String |
RDF_juneauNs
Configuration property: XML namespace for Juneau properties.
|
static String |
RDF_language
Configuration property: RDF language.
|
static String |
RDF_looseCollections
Configuration property: Collections should be serialized and parsed as loose collections.
|
static String |
RDF_n3_abbrevBaseUri
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_indentProperty
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_minGap
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_objectLists
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_propertyColumn
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_subjectColumn
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_useDoubles
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_usePropertySymbols
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_useTripleQuotedStrings
Configuration property: N3/Turtle property:
|
static String |
RDF_n3_widePropertyLen
Configuration property: N3/Turtle property:
|
static String |
RDF_rdfxml_allowBadUris
Configuration property: RDF/XML property:
|
static String |
RDF_rdfxml_attributeQuoteChar
Configuration property: RDF/XML property:
|
static String |
RDF_rdfxml_blockRules
Configuration property: RDF/XML property:
|
static String |
RDF_rdfxml_longId
Configuration property: RDF/XML property:
|
static String |
RDF_rdfxml_relativeUris
Configuration property: RDF/XML property:
|
static String |
RDF_rdfxml_showDoctypeDeclaration
Configuration property: RDF/XML property:
|
static String |
RDF_rdfxml_showXmlDeclaration
Configuration property: RDF/XML property:
|
static String |
RDF_rdfxml_tab
Configuration property: RDF/XML property:
|
static String |
RDF_rdfxml_xmlBase
Configuration property: RDF/XML property:
|
static final String PREFIX
static final Map<String,String> LANG_PROP_MAP
static final String RDF_language
RdfSerializerBuilder.language(String)
RdfSerializerBuilder.n3()
RdfSerializerBuilder.ntriple()
RdfSerializerBuilder.turtle()
RdfSerializerBuilder.xml()
RdfSerializerBuilder.xmlabbrev()
RdfParserBuilder.language(String)
RdfParserBuilder.n3()
RdfParserBuilder.ntriple()
RdfParserBuilder.turtle()
RdfParserBuilder.xml()
The RDF language to use.
Can be any of the following:
static final String RDF_juneauNs
Namespace
{j:'http://www.apache.org/juneau/' }
static final String RDF_juneauBpNs
Namespace
{j:'http://www.apache.org/juneaubp/' }
static final String RDF_arp_iriRules
Set the engine for checking and resolving.
Possible values:
static final String RDF_arp_errorMode
This allows a coarse-grained approach to control of error handling.
Possible values:
static final String RDF_arp_embedding
Sets ARP to look for RDF embedded within an enclosing XML document.
static final String RDF_arp_err_
Provides fine-grained control over detected error conditions.
Possible values:
static final String RDF_arp_warn_
See RDF_arp_err_
for details.
static final String RDF_arp_ign_
See RDF_arp_err_
for details.
static final String RDF_rdfxml_xmlBase
The value to be included for an
static final String RDF_rdfxml_longId
Whether to use long ID's for anon resources. Short ID's are easier to read, but can run out of memory on very large models.
static final String RDF_rdfxml_allowBadUris
URIs in the graph are, by default, checked prior to serialization.
static final String RDF_rdfxml_relativeUris
What sort of relative URIs should be used.
A comma separate list of options:
The default value is
static final String RDF_rdfxml_showXmlDeclaration
Possible values:
static final String RDF_rdfxml_showDoctypeDeclaration
If true, an XML doctype declaration is included in the output.
This declaration includes a
static final String RDF_rdfxml_tab
The number of spaces with which to indent XML child elements.
static final String RDF_rdfxml_attributeQuoteChar
The XML attribute quote character.
static final String RDF_rdfxml_blockRules
A list of
static final String RDF_n3_minGap
Minimum gap between items on a line.
static final String RDF_n3_objectLists
Print object lists as comma separated lists.
static final String RDF_n3_subjectColumn
If the subject is shorter than this value, the first property may go on the same line.
static final String RDF_n3_propertyColumn
Width of the property column.
static final String RDF_n3_indentProperty
Width to indent properties.
static final String RDF_n3_widePropertyLen
Width of the property column.
Must be longer than
static final String RDF_n3_abbrevBaseUri
Control whether to use abbreviations
static final String RDF_n3_usePropertySymbols
Control whether to use
static final String RDF_n3_useTripleQuotedStrings
Allow the use of
static final String RDF_n3_useDoubles
Allow the use doubles as
static final String RDF_collectionFormat
Possible values:
static final String RDF_looseCollections
When specified, collections of resources are handled as loose collections of resources in RDF instead of resources that are children of an RDF collection (e.g. Sequence, Bag).
Note that this setting is specialized for RDF syntax, and is incompatible with the concept of losslessly representing POJO models, since the tree structure of these POJO models are lost when serialized as loose collections.
This setting is typically only useful if the beans being parsed into do not have a bean property
annotated with @Rdf(beanUri=true)
.
WriterSerializer s = RdfSerializer.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.