@Deprecated public class ResponseInfo extends DocumentedInfo
Constructor and Description |
---|
ResponseInfo()
Deprecated.
Constructor.
|
ResponseInfo(DocumentationInfo documentation)
Deprecated.
Constructor with a single documentation element.
|
ResponseInfo(java.util.List<DocumentationInfo> documentations)
Deprecated.
Constructor with a list of documentation elements.
|
ResponseInfo(java.lang.String documentation)
Deprecated.
Constructor with a single documentation element.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ParameterInfo> |
getParameters()
Deprecated.
Returns the list of parameters.
|
java.util.List<RepresentationInfo> |
getRepresentations()
Deprecated.
Returns the list of representations
|
java.util.List<Status> |
getStatuses()
Deprecated.
Returns the list of statuses associated with this response
representation.
|
void |
setParameters(java.util.List<ParameterInfo> parameters)
Deprecated.
Sets the list of parameters.
|
void |
setRepresentations(java.util.List<RepresentationInfo> representations)
Deprecated.
Sets the list of representations
|
void |
setStatuses(java.util.List<Status> statuses)
Deprecated.
Sets the list of statuses associated with this response representation.
|
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.
|
void |
writeElement(XmlWriter writer)
Deprecated.
Writes the current object as an XML element using the given SAX writer.
|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentations
public ResponseInfo()
public ResponseInfo(DocumentationInfo documentation)
documentation
- A single documentation element.public ResponseInfo(java.util.List<DocumentationInfo> documentations)
documentations
- The list of documentation elements.public ResponseInfo(java.lang.String documentation)
documentation
- A single documentation element.public java.util.List<ParameterInfo> getParameters()
public java.util.List<RepresentationInfo> getRepresentations()
public java.util.List<Status> getStatuses()
public void setParameters(java.util.List<ParameterInfo> parameters)
parameters
- The list of parameters.public void setRepresentations(java.util.List<RepresentationInfo> representations)
representations
- The list of representationspublic void setStatuses(java.util.List<Status> statuses)
statuses
- The list of statuses associated with this response
representation.public void updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
DocumentedInfo
updateNamespaces
in class DocumentedInfo
namespaces
- The given map of namespaces to complete.public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writer
- The SAX writer.org.xml.sax.SAXException
Copyright © 2005-2024 Restlet.