@Deprecated
public abstract class DocumentedInfo
extends java.lang.Object
Constructor and Description |
---|
DocumentedInfo()
Deprecated.
Constructor.
|
DocumentedInfo(DocumentationInfo documentation)
Deprecated.
Constructor with a single documentation element.
|
DocumentedInfo(java.util.List<DocumentationInfo> documentations)
Deprecated.
Constructor with a list of documentation elements.
|
DocumentedInfo(java.lang.String documentation)
Deprecated.
Constructor with a single documentation element.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DocumentationInfo> |
getDocumentations()
Deprecated.
Returns the list of documentation elements.
|
java.util.Map<java.lang.String,java.lang.String> |
resolveNamespaces()
Deprecated.
Returns the list of namespaces used in the documentation elements as a
map.
|
void |
setDocumentation(DocumentationInfo documentationInfo)
Deprecated.
Set the list of documentation elements with a single element.
|
void |
setDocumentation(java.lang.String documentation)
Deprecated.
Set the list of documentation elements with a single element.
|
void |
setDocumentations(java.util.List<DocumentationInfo> doc)
Deprecated.
Sets the list of documentation elements.
|
abstract void |
updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
Deprecated.
Completes the given map of namespaces with the namespaces used in the
documentation elements.
|
public DocumentedInfo()
public DocumentedInfo(DocumentationInfo documentation)
documentation
- A single documentation element.public DocumentedInfo(java.util.List<DocumentationInfo> documentations)
documentations
- The list of documentation elements.public DocumentedInfo(java.lang.String documentation)
documentation
- A single documentation element.public java.util.List<DocumentationInfo> getDocumentations()
public java.util.Map<java.lang.String,java.lang.String> resolveNamespaces()
public void setDocumentation(DocumentationInfo documentationInfo)
documentationInfo
- A single documentation element.public void setDocumentation(java.lang.String documentation)
documentation
- A single documentation element.public void setDocumentations(java.util.List<DocumentationInfo> doc)
doc
- The list of documentation elements.public abstract void updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
namespaces
- The given map of namespaces to complete.Copyright © 2005-2020 Restlet.