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