@Deprecated public class OptionInfo extends DocumentedInfo
Constructor and Description |
---|
OptionInfo()
Deprecated.
Constructor.
|
OptionInfo(DocumentationInfo documentation)
Deprecated.
Constructor with a single documentation element.
|
OptionInfo(java.util.List<DocumentationInfo> documentations)
Deprecated.
Constructor with a list of documentation elements.
|
OptionInfo(java.lang.String documentation)
Deprecated.
Constructor with a single documentation element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Deprecated.
Returns the value of this option element.
|
void |
setValue(java.lang.String value)
Deprecated.
Sets the value of this option element.
|
void |
updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
Deprecated.
Completes the given map of namespaces with the namespaces used in the
documentation elements.
|
void |
writeElement(XmlWriter writer)
Deprecated.
Writes the current object as an XML element using the given SAX writer.
|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentations
public OptionInfo()
public OptionInfo(DocumentationInfo documentation)
documentation
- A single documentation element.public OptionInfo(java.util.List<DocumentationInfo> documentations)
documentations
- The list of documentation elements.public OptionInfo(java.lang.String documentation)
documentation
- A single documentation element.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value of this option element.public void updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
DocumentedInfo
updateNamespaces
in class DocumentedInfo
namespaces
- The given map of namespaces to complete.public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writer
- The SAX writer.org.xml.sax.SAXException
Copyright © 2005-2024 Restlet.