Class DocumentationInfo


  • @Deprecated
    public class DocumentationInfo
    extends java.lang.Object
    Deprecated.
    Will be removed in next major release.
    Document WADL description elements.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Language language
      Deprecated.
      The language of that documentation element.
      private org.w3c.dom.Node mixedContent
      Deprecated.
      The mixed content of that element.
      private java.lang.String title
      Deprecated.
      The title of that documentation element.
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentationInfo()
      Deprecated.
      Constructor.
      DocumentationInfo​(java.lang.String textContent)
      Deprecated.
      Constructor with text content.
      DocumentationInfo​(org.w3c.dom.Node mixedContent)
      Deprecated.
      Constructor with mixed content.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Language getLanguage()
      Deprecated.
      Returns the language of that documentation element.
      org.w3c.dom.Node getMixedContent()
      Deprecated.
      Returns the mixed content of that element.
      java.lang.String getTextContent()
      Deprecated.
      Returns the language of that documentation element.
      java.lang.String getTitle()
      Deprecated.
      Returns the title of that documentation element.
      void setLanguage​(Language language)
      Deprecated.
      The language of that documentation element.
      void setMixedContent​(org.w3c.dom.Node mixedContent)
      Deprecated.
      Sets the mixed content of that element.
      void setTextContent​(java.lang.String textContent)
      Deprecated.
      Sets the content of that element as text.
      void setTitle​(java.lang.String title)
      Deprecated.
      Sets the title of that documentation element.
      void writeElement​(XmlWriter writer)
      Deprecated.
      Writes the current object as an XML element using the given SAX writer.
      private void writeElement​(XmlWriter writer, org.w3c.dom.Node node)
      Deprecated.
      Writes the given node using the given SAX writer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • language

        private Language language
        Deprecated.
        The language of that documentation element.
      • mixedContent

        private org.w3c.dom.Node mixedContent
        Deprecated.
        The mixed content of that element.
      • title

        private java.lang.String title
        Deprecated.
        The title of that documentation element.
    • Constructor Detail

      • DocumentationInfo

        public DocumentationInfo()
        Deprecated.
        Constructor.
      • DocumentationInfo

        public DocumentationInfo​(org.w3c.dom.Node mixedContent)
        Deprecated.
        Constructor with mixed content.
        Parameters:
        mixedContent - The mixed content.
      • DocumentationInfo

        public DocumentationInfo​(java.lang.String textContent)
        Deprecated.
        Constructor with text content.
        Parameters:
        textContent - The text content.
    • Method Detail

      • getLanguage

        public Language getLanguage()
        Deprecated.
        Returns the language of that documentation element.
        Returns:
        The language of this documentation element.
      • getMixedContent

        public org.w3c.dom.Node getMixedContent()
        Deprecated.
        Returns the mixed content of that element.
        Returns:
        The mixed content of that element.
      • getTextContent

        public java.lang.String getTextContent()
        Deprecated.
        Returns the language of that documentation element.
        Returns:
        The content of that element as text.
      • getTitle

        public java.lang.String getTitle()
        Deprecated.
        Returns the title of that documentation element.
        Returns:
        The title of that documentation element.
      • setLanguage

        public void setLanguage​(Language language)
        Deprecated.
        The language of that documentation element.
        Parameters:
        language - The language of that documentation element.
      • setMixedContent

        public void setMixedContent​(org.w3c.dom.Node mixedContent)
        Deprecated.
        Sets the mixed content of that element.
        Parameters:
        mixedContent - The mixed content of that element.
      • setTextContent

        public void setTextContent​(java.lang.String textContent)
        Deprecated.
        Sets the content of that element as text.
        Parameters:
        textContent - The content of that element as text.
      • setTitle

        public void setTitle​(java.lang.String title)
        Deprecated.
        Sets the title of that documentation element.
        Parameters:
        title - The title of that documentation element.
      • 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
      • writeElement

        private void writeElement​(XmlWriter writer,
                                  org.w3c.dom.Node node)
                           throws java.io.IOException,
                                  org.xml.sax.SAXException
        Deprecated.
        Writes the given node using the given SAX writer. It detects the type of node (CDATASection, Entity, Comment, Text, DocumentFragment, Node).
        Parameters:
        writer - The SAX writer
        node - the given Node to write.
        Throws:
        java.io.IOException
        org.xml.sax.SAXException