Class RDFXMLParserContext

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

public class RDFXMLParserContext extends HashMap<String,Object>
The context object for the RDFXMLParser. It returns the prefix to namespace definitions found during parsing. These can be re-used for serialization.
See Also:
  • Field Details

    • PREFIX_DEFINITIONS

      public static String PREFIX_DEFINITIONS
      the key for the prefix definition that are found during parsing
    • XPACKET_ATTRIBUTES

      public static final String XPACKET_ATTRIBUTES
      is populated with the XMP packet attributes, e.g. 'begin="" id="W5M0MpCehiHzreSzNTczkc9d"'
      See Also:
  • Constructor Details

    • RDFXMLParserContext

      public RDFXMLParserContext()
  • Method Details

    • getPrefixDefinitions

      public Map<String,String> getPrefixDefinitions()
      Returns:
      Returns the prefix definitions found in the parsed XMP packet or null.
    • getXPacketAttributes

      public String getXPacketAttributes()
      Returns:
      Returns the attributes of the <?xpacket> processing instruction if available or null.