public class DocText
extends java.lang.Object
DocTextElement
,
asPlainText()
Constructor and Description |
---|
DocText(java.util.List<DocTextElement> elements)
Constructs a new documentation text which consists of a sequence of the
given text elements.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asPlainText()
Returns a representation of this documentation text as plain text without
any special formatting.
|
java.util.List<DocTextElement> |
getElements()
Returns an unmodifiable list of elements which compose this documentation
text.
|
java.lang.String |
toString() |
public DocText(java.util.List<DocTextElement> elements)
elements
- a sequence of the text elementspublic java.lang.String asPlainText()
public java.util.List<DocTextElement> getElements()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.