org.apache.chemistry.opencmis.commons.data
Interface CmisExtensionElement

All Superinterfaces:
Serializable

public interface CmisExtensionElement
extends Serializable

This class represents one node in the extension tree.


Method Summary
 Map<String,String> getAttributes()
          Returns the attributes of the extension.
 List<CmisExtensionElement> getChildren()
          Returns the children of this extension.
 String getName()
          Returns the name of the extension.
 String getNamespace()
          Returns the namespace of the extension.
 String getValue()
          Returns the value of the extension as a String.
 

Method Detail

getName

String getName()
Returns the name of the extension. The name is never null.


getNamespace

String getNamespace()
Returns the namespace of the extension. If the binding doesn't support namespaces this method will return null. Don't rely on namespaces because they are binding specific!


getValue

String getValue()
Returns the value of the extension as a String. If this extension has children than this method returns null.


getAttributes

Map<String,String> getAttributes()
Returns the attributes of the extension. If the binding doesn't support attributes this method will return null. Try to avoid attributes because they are binding specific!


getChildren

List<CmisExtensionElement> getChildren()
Returns the children of this extension.



Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.