org.apache.lenya.cms.metadata
Interface ElementSet


public interface ElementSet

Definition of a set of meta data elements.


Method Summary
 boolean containsElement(java.lang.String name)
          Checks if an element with a certain name is contained.
 Element getElement(java.lang.String name)
           
 Element[] getElements()
           
 java.lang.String getNamespaceUri()
           
 

Method Detail

getElements

Element[] getElements()
Returns:
The supported elements.

getElement

Element getElement(java.lang.String name)
                   throws MetaDataException
Parameters:
name - The name.
Returns:
The element.
Throws:
MetaDataException - if the element with this name does not exist.

getNamespaceUri

java.lang.String getNamespaceUri()
Returns:
The namespace URI of this element set.

containsElement

boolean containsElement(java.lang.String name)
Checks if an element with a certain name is contained.

Parameters:
name - The name.
Returns:
A boolean value.


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