@API(type=INTERNAL,
src=PUBLIC)
public class WebappTextModeState
extends java.lang.Object
Constructor and Description |
---|
WebappTextModeState(java.lang.String xmlContent,
int caretOffset)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCaretOffset()
Returns caret position in the XML content that corresponds to the caret
position in Author mode.
|
java.lang.String |
getXmlContent()
Returns the XML content in text format that can be saved on disk or edited in
a normal text editor.
|
public WebappTextModeState(java.lang.String xmlContent, int caretOffset)
xmlContent
- The text mode content.caretOffset
- The caret offset.public java.lang.String getXmlContent()
public int getCaretOffset()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.