Class StringElementHandlerBase

java.lang.Object
org.biojava.utils.stax.StAXContentHandlerBase
org.biojava.utils.stax.StringElementHandlerBase
All Implemented Interfaces:
StAXContentHandler
Direct Known Subclasses:
GAMEDescriptionPropHandler, GAMENamePropHandler, GAMETypePropHandler, PropDetailHandler

public abstract class StringElementHandlerBase extends StAXContentHandlerBase
StAX handler for any element which just contains a string. This class collects the string data, and when it is complete, passes it to the (abstract) setStringValue method. Typical use of this class is as a base for a small (often anonymous) class which takes the string value and stores it in some variable.
Since:
1.2
Author:
Thomas Down, Greg Cox