public class AnnoteaDecoratorVisitor extends Object implements DecoratorVisitor
| Constructor and Description |
|---|
AnnoteaDecoratorVisitor(com.google.gwt.dom.client.Node startNode,
int annotatedText,
int offset,
Annotation annotation,
AnnotationController controller) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doBreak() |
String[] |
getSelectedText(String rawText,
int length) |
boolean |
isLastCharIsSpace() |
void |
process(com.google.gwt.dom.client.Node node) |
String |
removeWhiteSpace(String data) |
void |
setLastCharIsSpace(boolean lastCharIsSpace) |
public AnnoteaDecoratorVisitor(com.google.gwt.dom.client.Node startNode,
int annotatedText,
int offset,
Annotation annotation,
AnnotationController controller)
public boolean isLastCharIsSpace()
public void setLastCharIsSpace(boolean lastCharIsSpace)
public boolean doBreak()
doBreak in interface NodeProcessorpublic void process(com.google.gwt.dom.client.Node node)
process in interface NodeProcessorCopyright © 2015 Nuxeo SA. All rights reserved.