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 NodeProcessor
public void process(com.google.gwt.dom.client.Node node)
process
in interface NodeProcessor
public String[] getSelectedText(String rawText, int length)
public String removeWhiteSpace(String data)
Copyright © 2018 Nuxeo. All rights reserved.