public class TurtleSerializer extends RdfSerializer
RdfSerializer
for serializing RDF in Turtle notation.Modifier and Type | Field and Description |
---|---|
static TurtleSerializer |
DEFAULT
Default Turtle serializer, all default settings.
|
RDF_addBeanTypes, RDF_addLiteralTypes, RDF_addRootProperty, RDF_autoDetectNamespaces, RDF_namespaces, RDF_useXmlNamespaces
WSERIALIZER_fileCharset, WSERIALIZER_maxIndent, WSERIALIZER_quoteChar, WSERIALIZER_streamCharset, WSERIALIZER_useWhitespace
SERIALIZER_addBeanTypes, SERIALIZER_addRootType, SERIALIZER_listener, SERIALIZER_sortCollections, SERIALIZER_sortMaps, SERIALIZER_trimEmptyCollections, SERIALIZER_trimEmptyMaps, SERIALIZER_trimNullProperties, SERIALIZER_trimStrings, SERIALIZER_uriContext, SERIALIZER_uriRelativity, SERIALIZER_uriResolution
BEANTRAVERSE_detectRecursions, BEANTRAVERSE_ignoreRecursions, BEANTRAVERSE_initialDepth, BEANTRAVERSE_maxDepth
BEAN_beanClassVisibility, BEAN_beanConstructorVisibility, BEAN_beanDictionary, BEAN_beanDictionary_add, BEAN_beanDictionary_remove, BEAN_beanFieldVisibility, BEAN_beanFilters, BEAN_beanFilters_add, BEAN_beanFilters_remove, BEAN_beanMapPutReturnsOldValue, BEAN_beanMethodVisibility, BEAN_beansRequireDefaultConstructor, BEAN_beansRequireSerializable, BEAN_beansRequireSettersForGetters, BEAN_beansRequireSomeProperties, BEAN_beanTypePropertyName, BEAN_debug, BEAN_examples, BEAN_excludeProperties, BEAN_fluentSetters, BEAN_ignoreInvocationExceptionsOnGetters, BEAN_ignoreInvocationExceptionsOnSetters, BEAN_ignorePropertiesWithoutSetters, BEAN_ignoreUnknownBeanProperties, BEAN_ignoreUnknownNullBeanProperties, BEAN_implClasses, BEAN_includeProperties, BEAN_locale, BEAN_mediaType, BEAN_notBeanClasses, BEAN_notBeanClasses_add, BEAN_notBeanClasses_remove, BEAN_notBeanPackages, BEAN_notBeanPackages_add, BEAN_notBeanPackages_remove, BEAN_pojoSwaps, BEAN_pojoSwaps_add, BEAN_pojoSwaps_remove, BEAN_propertyNamer, BEAN_sortProperties, BEAN_timeZone, BEAN_useEnumNames, BEAN_useInterfaceProxies, BEAN_useJavaBeanIntrospector, DEFAULT_SORTED
LANG_PROP_MAP, RDF_arp_embedding, RDF_arp_err_, RDF_arp_errorMode, RDF_arp_ign_, RDF_arp_iriRules, RDF_arp_warn_, RDF_collectionFormat, RDF_juneauBpNs, RDF_juneauNs, RDF_language, RDF_looseCollections, RDF_n3_abbrevBaseUri, RDF_n3_indentProperty, RDF_n3_minGap, RDF_n3_objectLists, RDF_n3_propertyColumn, RDF_n3_subjectColumn, RDF_n3_useDoubles, RDF_n3_usePropertySymbols, RDF_n3_useTripleQuotedStrings, RDF_n3_widePropertyLen, RDF_rdfxml_allowBadUris, RDF_rdfxml_attributeQuoteChar, RDF_rdfxml_blockRules, RDF_rdfxml_longId, RDF_rdfxml_relativeUris, RDF_rdfxml_showDoctypeDeclaration, RDF_rdfxml_showXmlDeclaration, RDF_rdfxml_tab, RDF_rdfxml_xmlBase
Constructor and Description |
---|
TurtleSerializer(PropertyStore ps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static RdfSerializerBuilder |
create()
Instantiates a new clean-slate
RdfSerializerBuilder object. |
builder, createSession, createSession, getCollectionFormat, getJenaProperties, getJuneauBpNs, getJuneauNs, getLanguage, getNamespaces, isAddBeanTypes, isAddLiteralTypes, isAddRootProp, isAutoDetectNamespaces, isLooseCollections, isUseXmlNamespaces, toMap
getFileCharset, getMaxIndent, getQuoteChar, getStreamCharset, isUseWhitespace, isWriterSerializer, println, serialize, toString, toStringObject
createDefaultSessionArgs, getAcceptMediaTypes, getListener, getMediaTypeRanges, getPrimaryMediaType, getResponseContentType, getUriContext, getUriRelativity, getUriResolution, isAddRootType, isSortCollections, isSortMaps, isTrimEmptyCollections, isTrimEmptyMaps, isTrimNullProperties, isTrimStrings, serialize, serializeToString
createSession, getInitialDepth, getMaxDepth, isDetectRecursions, isIgnoreRecursions
_class, createBeanSession, createBeanSession, createDefaultBeanSessionArgs, createSession, dumpCacheStats, getBeanClassVisibility, getBeanConstructorVisibility, getBeanDictionaryClasses, getBeanFieldVisibility, getBeanFilters, getBeanMeta, getBeanMethodVisibility, getBeanRegistry, getBeanTypePropertyName, getClassMeta, getClassMeta, getClassMetaForObject, getExamples, getExcludeProperties, getExcludeProperties, getImplClassConstructor, getImplClasses, getIncludeProperties, getIncludeProperties, getLocale, getMediaType, getNotBeanClasses, getNotBeanPackagesNames, getNotBeanPackagesPrefixes, getPojoSwaps, getPropertyNamer, getTimeZone, hasSameCache, isBean, isBeanMapPutReturnsOldValue, isBeansRequireDefaultConstructor, isBeansRequireSerializable, isBeansRequireSettersForGetters, isBeansRequireSomeProperties, isDebug, isFluentSetters, isIgnoreInvocationExceptionsOnGetters, isIgnoreInvocationExceptionsOnSetters, isIgnorePropertiesWithoutSetters, isIgnoreUnknownBeanProperties, isIgnoreUnknownNullBeanProperties, isNotABean, isSortProperties, isUseEnumNames, isUseInterfaceProxies, isUseJavaBeanIntrospector, object, resolveClassMeta, string
equals, getArrayProperty, getArrayProperty, getBooleanProperty, getCdlProperty, getClassArrayProperty, getClassArrayProperty, getClassArrayProperty, getClassListProperty, getClassListProperty, getClassMapProperty, getClassMapProperty, getClassProperty, getClassSetProperty, getClassSetProperty, getInstanceArrayProperty, getInstanceArrayProperty, getInstanceArrayProperty, getInstanceProperty, getInstanceProperty, getInstanceProperty, getIntegerProperty, getListProperty, getListProperty, getLongProperty, getMapProperty, getProperty, getProperty, getPropertyKeys, getPropertyStore, getSetProperty, getSetProperty, getStringProperty, getStringPropertyWithNone, hashCode, identityCode, toString
public static final TurtleSerializer DEFAULT
public TurtleSerializer(PropertyStore ps)
ps
- The property store containing all the settings for this object.public static RdfSerializerBuilder create()
RdfSerializerBuilder
object.
Note that this method creates a builder initialized to all default settings, whereas RdfSerializer.builder()
copies
the settings of the object called on.
RdfSerializerBuilder
object.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.