Package org.restlet.ext.wadl
Class DocumentationInfo
- java.lang.Object
-
- org.restlet.ext.wadl.DocumentationInfo
-
@Deprecated public class DocumentationInfo extends java.lang.ObjectDeprecated.Will be removed in next major release.Document WADL description elements.
-
-
Field Summary
Fields Modifier and Type Field Description private LanguagelanguageDeprecated.The language of that documentation element.private org.w3c.dom.NodemixedContentDeprecated.The mixed content of that element.private java.lang.StringtitleDeprecated.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 LanguagegetLanguage()Deprecated.Returns the language of that documentation element.org.w3c.dom.NodegetMixedContent()Deprecated.Returns the mixed content of that element.java.lang.StringgetTextContent()Deprecated.Returns the language of that documentation element.java.lang.StringgetTitle()Deprecated.Returns the title of that documentation element.voidsetLanguage(Language language)Deprecated.The language of that documentation element.voidsetMixedContent(org.w3c.dom.Node mixedContent)Deprecated.Sets the mixed content of that element.voidsetTextContent(java.lang.String textContent)Deprecated.Sets the content of that element as text.voidsetTitle(java.lang.String title)Deprecated.Sets the title of that documentation element.voidwriteElement(XmlWriter writer)Deprecated.Writes the current object as an XML element using the given SAX writer.private voidwriteElement(XmlWriter writer, org.w3c.dom.Node node)Deprecated.Writes the given node using the given SAX writer.
-
-
-
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 writernode- the given Node to write.- Throws:
java.io.IOExceptionorg.xml.sax.SAXException
-
-