public interface XMPMetadata extends XMPStruct
Modifier and Type | Method and Description |
---|---|
XMPMetadata |
clone()
Deep clone of the XMP tree
|
java.lang.String |
dump()
returns a human readable version of this node tree (recursive)
|
XMPNode |
get(XMPPath path)
Return the node of the given path, relative to this node.
|
java.lang.String |
getAboutURI()
This correlates to the about-attribute,
returns the empty String if no name is set.
|
XMPArray |
getArray(XMPPath path)
Returns an array from the given path, relative to this node.
|
XMPLanguageAlternative |
getLanguageAlternative(XMPPath path)
Returns a language Alternative from the given path, relative to this node.
|
XMPSimple |
getSimple(XMPPath path)
Returns a simple property from the given path, relative to this node.
|
XMPStruct |
getStruct(XMPPath path)
Returns a struct property from the given path, relative to this node.
|
XMPPath |
getXMPPath()
Return the path of this XMPNode
|
XMPNode |
remove(XMPPath path)
Remove a node at a given path, relative to this node
|
void |
setAboutURI(java.lang.String name)
Sets the value of rdf:about attribute for the XMP object.
|
copy, copy, copy, get, getArray, getLanguageAlternative, getNamespaceProperties, getSimple, getStruct, getUsedNamespaces, remove, renameField, setArray, setLanguageAlternative, setSimple, setStruct
accept, accessQualifiers, adaptTo, copyReplace, getName, getNamespace, getParent, hasQualifiers, isArrayItem, iterator, size
java.lang.String getAboutURI()
void setAboutURI(java.lang.String name)
name
- value to be set.XMPMetadata clone()
XMPPath getXMPPath()
XMPNode get(XMPPath path)
path
- the path to the desired node relative to this nodeXMPNode remove(XMPPath path) throws XMPException
path
- the path to the node that shall be deletedXMPException
- throws in case the remove path points to
an xml:lang qualifier of a Language AlternativeXMPSimple getSimple(XMPPath path)
path
- the path to the simple property, relative to this node.XMPStruct getStruct(XMPPath path)
path
- the path to the struct property, relative to this node.XMPArray getArray(XMPPath path)
path
- the path to the array, relative to this node.XMPLanguageAlternative getLanguageAlternative(XMPPath path)
path
- the path to the langAlt, relative to this node.java.lang.String dump()
Copyright © 2010 - 2020 Adobe. All Rights Reserved