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()
CmisExtensionElement
getName
in interface CmisExtensionElement
null
public String getNamespace()
CmisExtensionElement
The namespace must follow the XML rules for namespaces. Don't rely on namespaces because the Browser binding does not support namespaces!
getNamespace
in interface CmisExtensionElement
null
if the namespace is not
set or not supported by the bindingpublic String getValue()
CmisExtensionElement
getValue
in interface CmisExtensionElement
null
if the value is
null
or the extension has childrenpublic List<CmisExtensionElement> getChildren()
CmisExtensionElement
getChildren
in interface CmisExtensionElement
null
if the extension
has a valuepublic Map<String,String> getAttributes()
CmisExtensionElement
The attributes must follow the XML rules for attributes. Don't rely on attributes because the Browser binding does not support attributes!
getAttributes
in interface CmisExtensionElement
null
if the attributes are
not set or not supported by the bindingpublic String toTreeString(int level)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.