Class ResourcesInfo


  • @Deprecated
    public class ResourcesInfo
    extends DocumentedInfo
    Deprecated.
    Will be removed in next major release.
    Describes the root resources of an application.
    • Field Detail

      • baseRef

        private Reference baseRef
        Deprecated.
        Base URI for each child resource identifier.
      • resources

        private java.util.List<ResourceInfo> resources
        Deprecated.
        List of child resources.
    • Constructor Detail

      • ResourcesInfo

        public ResourcesInfo()
        Deprecated.
        Constructor.
      • ResourcesInfo

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

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

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

      • getBaseRef

        public Reference getBaseRef()
        Deprecated.
        Returns the base URI for each child resource identifier.
        Returns:
        The base URI for each child resource identifier.
      • getResources

        public java.util.List<ResourceInfo> getResources()
        Deprecated.
        Returns the list of child resources.
        Returns:
        The list of child resources.
      • setBaseRef

        public void setBaseRef​(Reference baseRef)
        Deprecated.
        Sets the base URI for each child resource identifier.
        Parameters:
        baseRef - The base URI for each child resource identifier.
      • setResources

        public void setResources​(java.util.List<ResourceInfo> resources)
        Deprecated.
        Sets the list of child resources.
        Parameters:
        resources - The list of child resources.
      • 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