org.nuxeo.ecm.platform.annotations.gwt.client.view.decorator
Class AnnoteaDecoratorVisitor
java.lang.Object
org.nuxeo.ecm.platform.annotations.gwt.client.view.decorator.AnnoteaDecoratorVisitor
- All Implemented Interfaces:
- NodeProcessor, DecoratorVisitor
public class AnnoteaDecoratorVisitor
- extends Object
- implements DecoratorVisitor
- Author:
- Alexandre Russel
AnnoteaDecoratorVisitor
public AnnoteaDecoratorVisitor(com.google.gwt.dom.client.Node startNode,
int annotatedText,
int offset,
Annotation annotation,
AnnotationController controller)
isLastCharIsSpace
public boolean isLastCharIsSpace()
setLastCharIsSpace
public void setLastCharIsSpace(boolean lastCharIsSpace)
doBreak
public boolean doBreak()
- Specified by:
doBreak
in interface NodeProcessor
process
public void process(com.google.gwt.dom.client.Node node)
- Specified by:
process
in interface NodeProcessor
getSelectedText
public String[] getSelectedText(String rawText,
int length)
removeWhiteSpace
public String removeWhiteSpace(String data)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.