Package com.adobe.xmp.core.serializer
Class RDFXMLSerializerContext
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- com.adobe.xmp.core.serializer.RDFXMLSerializerContext
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,java.lang.Object>
public class RDFXMLSerializerContext extends java.util.HashMap<java.lang.String,java.lang.Object>
The context object for the RDFXMLSerializer. It provides the serialization options to the RDF/XML serializer implementation.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFIX_CONTRACT
An optional prefix-to-namespace contract for custom serializationstatic java.lang.String
SERIALIZE_OPTIONS
The context key for the serialization options
-
Constructor Summary
Constructors Constructor Description RDFXMLSerializerContext()
Default constructorRDFXMLSerializerContext(SerializeOptions options)
Constructor for a context with serialization options.RDFXMLSerializerContext(SerializeOptions options, java.util.Map<java.lang.String,java.lang.String> prefixContract)
Constructor for a context with serialization options and the prefix contract.
-
-
-
Field Detail
-
SERIALIZE_OPTIONS
public static final java.lang.String SERIALIZE_OPTIONS
The context key for the serialization options- See Also:
- Constant Field Values
-
PREFIX_CONTRACT
public static final java.lang.String PREFIX_CONTRACT
An optional prefix-to-namespace contract for custom serialization- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RDFXMLSerializerContext
public RDFXMLSerializerContext()
Default constructor
-
RDFXMLSerializerContext
public RDFXMLSerializerContext(SerializeOptions options)
Constructor for a context with serialization options.- Parameters:
options
- serialization options
-
RDFXMLSerializerContext
public RDFXMLSerializerContext(SerializeOptions options, java.util.Map<java.lang.String,java.lang.String> prefixContract)
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
-
-