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()
DocTextElement
asPlainText
in interface DocTextElement
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.