public class DocCodeTextElement extends java.lang.Object implements DocTextElement
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
code
The code text.
|
| Constructor and Description |
|---|
DocCodeTextElement(java.lang.String code)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asPlainText()
Returns a plain text representation of this text element.
|
java.lang.String |
toString() |
public DocCodeTextElement(java.lang.String code)
code - the source code which should be represented as a text elementpublic java.lang.String asPlainText()
DocTextElementasPlainText in interface DocTextElementpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.