jd.xml.xpath.model.parse
Class ParseTextBuffer

java.lang.Object
  extended byjd.util.TextBuffer
      extended byjd.xml.xpath.model.parse.ParseTextBuffer

public class ParseTextBuffer
extends TextBuffer

ParseTextBuffer is a TextBuffer used to merge all subsequent text parse events of a Parser to a single string and to keep track if the text consists only of whitespace characters.


Field Summary
 boolean isWhitespace
           
 
Constructor Summary
ParseTextBuffer()
           
 
Method Summary
 void appendTested(char[] ch, int start, int length)
           
 void appendTested(String text)
           
 
Methods inherited from class jd.util.TextBuffer
append, append, append, append, append, append, append, append, charAt, clear, equalsString, getBuffer, length, setLength, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isWhitespace

public boolean isWhitespace
Constructor Detail

ParseTextBuffer

public ParseTextBuffer()
Method Detail

appendTested

public void appendTested(char[] ch,
                         int start,
                         int length)

appendTested

public void appendTested(String text)