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()
CmisExtensionElementnull.getName in interface CmisExtensionElementpublic String getNamespace()
CmisExtensionElementnull.
Don't rely on namespaces because they are binding specific!getNamespace in interface CmisExtensionElementpublic String getValue()
CmisExtensionElementnull.getValue in interface CmisExtensionElementpublic List<CmisExtensionElement> getChildren()
CmisExtensionElementgetChildren in interface CmisExtensionElementpublic Map<String,String> getAttributes()
CmisExtensionElementnull.
Try to avoid attributes because they are binding specific!getAttributes in interface CmisExtensionElementpublic String toTreeString(int level)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.