Package com.adobe.xmp.core.serializer
Class RDFXMLSerializerContext
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
The context object for the RDFXMLSerializer.
It provides the serialization options to the RDF/XML serializer implementation.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorRDFXMLSerializerContext(SerializeOptions options) Constructor for a context with serialization options.RDFXMLSerializerContext(SerializeOptions options, Map<String, String> prefixContract) Constructor for a context with serialization options and the prefix contract. -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
SERIALIZE_OPTIONS
The context key for the serialization options- See Also:
-
PREFIX_CONTRACT
An optional prefix-to-namespace contract for custom serialization- See Also:
-
-
Constructor Details
-
RDFXMLSerializerContext
public RDFXMLSerializerContext()Default constructor -
RDFXMLSerializerContext
Constructor for a context with serialization options.- Parameters:
options- serialization options
-
RDFXMLSerializerContext
Constructor for a context with serialization options and the prefix contract.- Parameters:
options- serialization optionsprefixContract- prefix to namespace-map that contains proposed prefixes for the output
-