:: com :: sun :: star :: rdf ::

unpublished interface XMetadatable
Base Interfaces
XMetadatableXResourceXNode

XResource
(referenced interface's summary:)
represents a resource node that may occur in a RDF graph.
Description
marks an object representing an ODF element that may have RDF meta data attached.

To make using ODF elements as part of RDF statements more convenient, this interface inherits from XRDFResource.


Methods' Summary
ensureXmlId creates an XML ID for this object, if necessary.  
Attributes' Summary
XmlId an XML ID, comprising the stream name and the xml:id attribute.  
Methods' Details
ensureXmlId
void
ensureXmlId();

Description
creates an XML ID for this object, if necessary.

If this object already has an XML ID, do nothing; otherwise, create a fresh, unique XML ID and assign it to the XmlId attribute.

Attributes' Details
XmlId
string XmlId
set raises (::com::sun::star::lang::IllegalArgumentException);

Description
an XML ID, comprising the stream name and the xml:id attribute.

Note that this ID must be unique for the ODF document. This implies that the xml:id part must be unique for every stream. The ID may be omitted, in which case the value is the empty string. For Example: "content.xml#foo-element-1"

Throws
com::sun::star::lang::IllegalArgumentException if the given XmlId is invalid, or not unique
Top of Page