public class CmisExtensionElementImpl extends Object implements CmisExtensionElement
| Constructor and Description |
|---|
CmisExtensionElementImpl(CmisExtensionElement element)
Copy constructor.
|
CmisExtensionElementImpl(String namespace,
String name,
Map<String,String> attributes,
List<CmisExtensionElement> children)
Constructor for a node.
|
CmisExtensionElementImpl(String namespace,
String name,
Map<String,String> attributes,
String value)
Constructor for a leaf.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
toString() |
String |
toTreeString(int level) |
public CmisExtensionElementImpl(String namespace, String name, Map<String,String> attributes, String value)
public CmisExtensionElementImpl(String namespace, String name, Map<String,String> attributes, List<CmisExtensionElement> children)
public CmisExtensionElementImpl(CmisExtensionElement element)
public String getName()
CmisExtensionElementgetName in interface CmisExtensionElementnullpublic String getNamespace()
CmisExtensionElementThe namespace must follow the XML rules for namespaces. Don't rely on namespaces because the Browser binding does not support namespaces!
getNamespace in interface CmisExtensionElementnull if the namespace is not
set or not supported by the bindingpublic String getValue()
CmisExtensionElementgetValue in interface CmisExtensionElementnull if the value is
null or the extension has childrenpublic List<CmisExtensionElement> getChildren()
CmisExtensionElementgetChildren in interface CmisExtensionElementnull if the extension
has a valuepublic Map<String,String> getAttributes()
CmisExtensionElementThe attributes must follow the XML rules for attributes. Don't rely on attributes because the Browser binding does not support attributes!
getAttributes in interface CmisExtensionElementnull if the attributes are
not set or not supported by the bindingpublic String toTreeString(int level)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.