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