Class ApplicationInfo


  • @Deprecated
    public class ApplicationInfo
    extends DocumentedInfo
    Deprecated.
    Will be removed in next major release.
    Root of a WADL description document.
    • Field Detail

      • grammars

        private GrammarsInfo grammars
        Deprecated.
        Container for definitions of the format of data exchanged.
      • methods

        private java.util.List<MethodInfo> methods
        Deprecated.
        List of methods.
      • namespaces

        private java.util.Map<java.lang.String,​java.lang.String> namespaces
        Deprecated.
        Map of namespaces used in the WADL document. The key is the URI of the namespace and the value, the prefix.
      • representations

        private java.util.List<RepresentationInfo> representations
        Deprecated.
        List of representations.
      • resources

        private ResourcesInfo resources
        Deprecated.
        Resources provided by the application.
      • resourceTypes

        private java.util.List<ResourceTypeInfo> resourceTypes
        Deprecated.
        Describes a set of methods that define the behavior of a type of resource.
    • Constructor Detail

      • ApplicationInfo

        public ApplicationInfo()
        Deprecated.
        Constructor.
      • ApplicationInfo

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

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

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

      • getGrammars

        public GrammarsInfo getGrammars()
        Deprecated.
        Returns the grammar elements.
        Returns:
        The grammar elements.
      • getMethods

        public java.util.List<MethodInfo> getMethods()
        Deprecated.
        Returns the list of method elements.
        Returns:
        The list of method elements.
      • getNamespaces

        public java.util.Map<java.lang.String,​java.lang.String> getNamespaces()
        Deprecated.
        Returns the map of namespaces used in the WADL document.
        Returns:
        The ap of namespaces used in the WADL document.
      • getRepresentations

        public java.util.List<RepresentationInfo> getRepresentations()
        Deprecated.
        Returns the list of representation elements.
        Returns:
        The list of representation elements.
      • getResources

        public ResourcesInfo getResources()
        Deprecated.
        Returns the resources root element.
        Returns:
        The resources root element.
      • getResourceTypes

        public java.util.List<ResourceTypeInfo> getResourceTypes()
        Deprecated.
        Returns the list of resource type elements.
        Returns:
        The list of resource type elements.
      • setGrammars

        public void setGrammars​(GrammarsInfo grammars)
        Deprecated.
        Sets the grammars element.
        Parameters:
        grammars - The grammars element.
      • setMethods

        public void setMethods​(java.util.List<MethodInfo> methods)
        Deprecated.
        Sets the list of documentation elements.
        Parameters:
        methods - The list of method elements.
      • setNamespaces

        public void setNamespaces​(java.util.Map<java.lang.String,​java.lang.String> namespaces)
        Deprecated.
        Sets the map of namespaces used in the WADL document. The key is the URI of the namespace and the value, the prefix.
        Parameters:
        namespaces - The map of namespaces used in the WADL document.
      • setRepresentations

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

        public void setResources​(ResourcesInfo resources)
        Deprecated.
        Sets the list of resource elements.
        Parameters:
        resources - The list of resource elements.
      • setResourceTypes

        public void setResourceTypes​(java.util.List<ResourceTypeInfo> resourceTypes)
        Deprecated.
        Sets the list of resource type elements.
        Parameters:
        resourceTypes - The list of resource type elements.
      • 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