public final class XmpRdfRoot extends XmpElementBase implements IXmlValue
Represents rdf:RDF element. A single XMP packet shall be serialized using a single rdf:RDF XML element. The rdf:RDF element content shall consist of only zero or more rdf:Description elements.
Constructor and Description |
---|
XmpRdfRoot()
Initializes a new instance of the
XmpRdfRoot class. |
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceUri(String prefix)
Gets namespace URI by specific prefix.
|
String |
getXmlValue()
Converts xmp value to the xml representation.
|
void |
registerNamespaceUri(String prefix,
String namespaceUri)
Adds namespace uri by prefix.
|
addAttribute, clearAttributes, equals, getAttribute, hashCode, isEquals
public XmpRdfRoot()
Initializes a new instance of the XmpRdfRoot
class.
public void registerNamespaceUri(String prefix, String namespaceUri)
Adds namespace uri by prefix. Prefix may start without xmlns.
prefix
- The prefix.namespaceUri
- Package schema uri.public String getNamespaceUri(String prefix)
Gets namespace URI by specific prefix. Prefix may start without xmlns.
prefix
- The prefix.public String getXmlValue()
Converts xmp value to the xml representation.
getXmlValue
in interface IXmlValue