Class RDFXMLSerializerContext

java.lang.Object
java.util.AbstractMap<String,Object>
java.util.HashMap<String,Object>
com.adobe.xmp.core.serializer.RDFXMLSerializerContext
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class RDFXMLSerializerContext extends HashMap<String,Object>
The context object for the RDFXMLSerializer. It provides the serialization options to the RDF/XML serializer implementation.
See Also:
  • Field Details

    • SERIALIZE_OPTIONS

      public static final String SERIALIZE_OPTIONS
      The context key for the serialization options
      See Also:
    • PREFIX_CONTRACT

      public static final String PREFIX_CONTRACT
      An optional prefix-to-namespace contract for custom serialization
      See Also:
  • Constructor Details

    • 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, Map<String,String> prefixContract)
      Constructor for a context with serialization options and the prefix contract.
      Parameters:
      options - serialization options
      prefixContract - prefix to namespace-map that contains proposed prefixes for the output