org.apache.lenya.cms.metadata
Interface MetaDataOwner

All Known Subinterfaces:
ContentHolder, Document, Node, Revision

public interface MetaDataOwner

Owner of meta-data.

Version:
$Id: MetaDataOwner.java 473861 2006-11-12 03:51:14Z gregor $

Method Summary
 MetaData getMetaData(java.lang.String namespaceUri)
          Returns a meta data object.
 java.lang.String[] getMetaDataNamespaceUris()
          Returns the URIs of the meta data currently supported by the owner.
 

Method Detail

getMetaData

MetaData getMetaData(java.lang.String namespaceUri)
                     throws MetaDataException
Returns a meta data object.

Parameters:
namespaceUri - The namespace URI.
Returns:
A meta data object.
Throws:
MetaDataException - if an error occurs.

getMetaDataNamespaceUris

java.lang.String[] getMetaDataNamespaceUris()
                                            throws MetaDataException
Returns the URIs of the meta data currently supported by the owner.

Returns:
An array of strings.
Throws:
MetaDataException - if an error occurs.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.