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