net.sf.ofx4j.io
Class DefaultHandler

java.lang.Object
  extended by net.sf.ofx4j.io.DefaultHandler
All Implemented Interfaces:
OFXHandler

public class DefaultHandler
extends java.lang.Object
implements OFXHandler

Default (no-op) implementation of an OFX handler.

Author:
Ryan Heaton

Constructor Summary
DefaultHandler()
           
 
Method Summary
 void endAggregate(java.lang.String aggregateName)
          Handle the end of an OFX aggregate.
 void onElement(java.lang.String name, java.lang.String value)
          Handle a new OFX element.
 void onHeader(java.lang.String name, java.lang.String value)
          Handler an OFX header.
 void startAggregate(java.lang.String aggregateName)
          Handle the start of a new OFX aggregate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultHandler

public DefaultHandler()
Method Detail

onHeader

public void onHeader(java.lang.String name,
                     java.lang.String value)
Description copied from interface: OFXHandler
Handler an OFX header.

Specified by:
onHeader in interface OFXHandler
Parameters:
name - The name of the header.
value - The value of the header.

onElement

public void onElement(java.lang.String name,
                      java.lang.String value)
Description copied from interface: OFXHandler
Handle a new OFX element.

Specified by:
onElement in interface OFXHandler
Parameters:
name - The name of the element.
value - The value of the element.

startAggregate

public void startAggregate(java.lang.String aggregateName)
Description copied from interface: OFXHandler
Handle the start of a new OFX aggregate.

Specified by:
startAggregate in interface OFXHandler
Parameters:
aggregateName - The name of the aggregate.

endAggregate

public void endAggregate(java.lang.String aggregateName)
Description copied from interface: OFXHandler
Handle the end of an OFX aggregate.

Specified by:
endAggregate in interface OFXHandler
Parameters:
aggregateName - The aggregate name.


Copyright © 2008. All Rights Reserved.