Class RequestInfo


  • @Deprecated
    public class RequestInfo
    extends DocumentedInfo
    Deprecated.
    Will be removed in next major release.
    Describes the properties of a request associated to a parent method.
    • Field Detail

      • parameters

        private java.util.List<ParameterInfo> parameters
        Deprecated.
        List of parameters.
      • representations

        private java.util.List<RepresentationInfo> representations
        Deprecated.
        List of supported input representations.
    • Constructor Detail

      • RequestInfo

        public RequestInfo()
        Deprecated.
        Constructor.
      • RequestInfo

        public RequestInfo​(DocumentationInfo documentation)
        Deprecated.
        Constructor with a single documentation element.
        Parameters:
        documentation - A single documentation element.
      • RequestInfo

        public RequestInfo​(java.util.List<DocumentationInfo> documentations)
        Deprecated.
        Constructor with a list of documentation elements.
        Parameters:
        documentations - The list of documentation elements.
      • RequestInfo

        public RequestInfo​(java.lang.String documentation)
        Deprecated.
        Constructor with a single documentation element.
        Parameters:
        documentation - A single documentation element.
    • Method Detail

      • getParameters

        public java.util.List<ParameterInfo> getParameters()
        Deprecated.
        Returns the list of parameters.
        Returns:
        The list of parameters.
      • getRepresentations

        public java.util.List<RepresentationInfo> getRepresentations()
        Deprecated.
        Returns the list of supported input representations.
        Returns:
        The list of supported input representations.
      • setParameters

        public void setParameters​(java.util.List<ParameterInfo> parameters)
        Deprecated.
        Sets the list of parameters.
        Parameters:
        parameters - The list of parameters.
      • setRepresentations

        public void setRepresentations​(java.util.List<RepresentationInfo> representations)
        Deprecated.
        Sets the list of supported input representations.
        Parameters:
        representations - The list of supported input representations.
      • updateNamespaces

        public void updateNamespaces​(java.util.Map<java.lang.String,​java.lang.String> namespaces)
        Deprecated.
        Description copied from class: DocumentedInfo
        Completes the given map of namespaces with the namespaces used in the documentation elements. The key is the URI of the namespace and the value, the prefix.
        Specified by:
        updateNamespaces in class DocumentedInfo
        Parameters:
        namespaces - The given map of namespaces to complete.
      • writeElement

        public void writeElement​(XmlWriter writer)
                          throws org.xml.sax.SAXException
        Deprecated.
        Writes the current object as an XML element using the given SAX writer.
        Parameters:
        writer - The SAX writer.
        Throws:
        org.xml.sax.SAXException