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 java.lang.Object
- implements DecoratorVisitor
- Author:
- Alexandre Russel
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.lang.String[] getSelectedText(java.lang.String rawText,
int length)
removeWhiteSpace
public java.lang.String removeWhiteSpace(java.lang.String data)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.