public interface TextSetter
Interface of an object which is setting character data as
a bean property. The default implementation,
TextSetterImpl, is converting any
SAX event of type ContentHandler.characters(char[], int, int)
into a call of the method addText(String) on the
bean.
| Modifier and Type | Method and Description |
|---|---|
void |
addText(java.lang.String pText)
Called for any
ContentHandler.characters(char[], int, int)
event. |
void addText(java.lang.String pText)
throws org.xml.sax.SAXException
Called for any ContentHandler.characters(char[], int, int)
event. Note, that this implies in particular, that the method may be called
multiple times, even for a single block of text.
pText - The text being set.org.xml.sax.SAXException