Package com.adobe.xmp.core.parser
Class RDFXMLParserContext
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- 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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static String
PREFIX_DEFINITIONS
the key for the prefix definition that are found during parsingstatic 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 Map<String,String>
getPrefixDefinitions()
String
getXPacketAttributes()
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Field Detail
-
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:
- Constant Field Values
-
-
Method Detail
-
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
.
-
-