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

All Superinterfaces:
java.io.Serializable

public interface CmisExtensionElement
extends java.io.Serializable

This class represents one node in the extension tree.


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

Method Detail

getName

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


getNamespace

java.lang.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

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


getAttributes

java.util.Map<java.lang.String,java.lang.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

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



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