org.eclipse.xtext.ui.editor.model
Class CommonBreakIterator.Whitespace

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.model.CommonBreakIterator.Run
      extended by org.eclipse.xtext.ui.editor.model.CommonBreakIterator.Whitespace
Enclosing class:
CommonBreakIterator

protected static class CommonBreakIterator.Whitespace
extends CommonBreakIterator.Run


Field Summary
 
Fields inherited from class org.eclipse.xtext.ui.editor.model.CommonBreakIterator.Run
length
 
Constructor Summary
protected CommonBreakIterator.Whitespace()
           
 
Method Summary
protected  boolean isValid(char ch)
          Whether this run accepts that character; does not update state.
 
Methods inherited from class org.eclipse.xtext.ui.editor.model.CommonBreakIterator.Run
consume, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonBreakIterator.Whitespace

protected CommonBreakIterator.Whitespace()
Method Detail

isValid

protected boolean isValid(char ch)
Description copied from class: CommonBreakIterator.Run
Whether this run accepts that character; does not update state. Called from the default implementation of consume.

Specified by:
isValid in class CommonBreakIterator.Run
Parameters:
ch - the character to test
Returns:
true if ch is accepted