Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.gwt.client.view.decorator
Class AnnoteaDecoratorVisitor

java.lang.Object
  extended by 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

Constructor Summary
AnnoteaDecoratorVisitor(com.google.gwt.dom.client.Node startNode, int annotatedText, int offset, Annotation annotation, AnnotationController controller)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnoteaDecoratorVisitor

public AnnoteaDecoratorVisitor(com.google.gwt.dom.client.Node startNode,
                               int annotatedText,
                               int offset,
                               Annotation annotation,
                               AnnotationController controller)
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.