Class DoubleElementHandlerBase

  • All Implemented Interfaces:
    StAXContentHandler

    public abstract class DoubleElementHandlerBase
    extends StAXContentHandlerBase

    StAX handler for any element which just contains a string representation of a double.

    This calss collects the string data, and when it is complete, passes it to the (abstract) setDoubleValue method. Typical use of this class is as a base for a small (often anonymous) class which takes the double value and stores it in some variable.

    Since:
    1.2
    Author:
    Matthew Pocock, Greg Cox