Package com.adobe.xmp.core.parser
Class RDFXMLParserContext
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- com.adobe.xmp.core.parser.RDFXMLParserContext
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,java.lang.Object>
public class RDFXMLParserContext extends java.util.HashMap<java.lang.String,java.lang.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFIX_DEFINITIONS
the key for the prefix definition that are found during parsingstatic java.lang.String
XPACKET_ATTRIBUTES
is populated with the XMP packet attributes, e.g.
-
Constructor Summary
Constructors Constructor Description RDFXMLParserContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getPrefixDefinitions()
java.lang.String
getXPacketAttributes()
-
-
-
Field Detail
-
PREFIX_DEFINITIONS
public static java.lang.String PREFIX_DEFINITIONS
the key for the prefix definition that are found during parsing
-
XPACKET_ATTRIBUTES
public static final java.lang.String XPACKET_ATTRIBUTES
is populated with the XMP packet attributes, e.g. 'begin="" id="W5M0MpCehiHzreSzNTczkc9d"'- See Also:
- Constant Field Values
-
-
Method Detail
-
getPrefixDefinitions
public java.util.Map<java.lang.String,java.lang.String> getPrefixDefinitions()
- Returns:
- Returns the prefix definitions found in the parsed XMP packet or
null
.
-
getXPacketAttributes
public java.lang.String getXPacketAttributes()
- Returns:
- Returns the attributes of the <?xpacket> processing instruction
if available or
null
.
-
-