|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.parsing.TextHandler
public class TextHandler
Handles accumulating text from XML text nodes during parsing.
Constructor Summary | |
---|---|
TextHandler()
|
Method Summary | |
---|---|
void |
addText(String text)
Add text but only if it isn't just whitespace. |
String |
getText()
Get the text or null if no text has been set. |
int |
length()
Get the length of the text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextHandler()
Method Detail |
---|
public void addText(String text) throws ArooaException
text
-
ArooaException
public String getText()
public int length()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |