org.apache.ws.jaxme.xs.parser
Interface TextSetter
- TextSetterImpl
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
org.xml.sax.ContentHandler.characters(char[], int, int)
into a call of the method
addText(String)
on the
bean.
void | addText(String pText) - Called for any
org.xml.sax.ContentHandler.characters(char[], int, int)
event.
|
addText
public void addText(String pText)
throws SAXException
Called for any org.xml.sax.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.