Packages

 

com.aspose.imaging.xmp

Class XmpRdfRoot

  • All Implemented Interfaces:
    IXmlValue, com.aspose.ms.System.IEquatable<XmpElementBase>


    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 Detail

      • XmpRdfRoot

        public XmpRdfRoot()

        Initializes a new instance of the XmpRdfRoot class.

    • Method Detail

      • registerNamespaceUri

        public void registerNamespaceUri(String prefix,
                                         String namespaceUri)

        Adds namespace uri by prefix. Prefix may start without xmlns.

        Parameters:
        prefix - The prefix.
        namespaceUri - Package schema uri.
      • getNamespaceUri

        public String getNamespaceUri(String prefix)

        Gets namespace URI by specific prefix. Prefix may start without xmlns.

        Parameters:
        prefix - The prefix.
        Returns:
        Returns a package schema URI.
      • getXmlValue

        public String getXmlValue()

        Converts xmp value to the xml representation.

        Specified by:
        getXmlValue in interface IXmlValue
        Returns:
        Returns XMP value converted to XML string.