net.sf.ofx4j.io
Class AggregateStackContentHandler<A>

java.lang.Object
  extended by net.sf.ofx4j.io.AggregateStackContentHandler<A>
All Implemented Interfaces:
OFXHandler

public class AggregateStackContentHandler<A>
extends java.lang.Object
implements OFXHandler

Content handler that manages the aggregate using a stack-based implementation.

Author:
Ryan Heaton

Constructor Summary
AggregateStackContentHandler(A root, StringConversion conversion)
           
 
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

AggregateStackContentHandler

public AggregateStackContentHandler(A root,
                                    StringConversion conversion)
Method Detail

onHeader

public void onHeader(java.lang.String name,
                     java.lang.String value)
              throws OFXSyntaxException
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.
Throws:
OFXSyntaxException

onElement

public void onElement(java.lang.String name,
                      java.lang.String value)
               throws OFXSyntaxException
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.
Throws:
OFXSyntaxException

startAggregate

public void startAggregate(java.lang.String aggregateName)
                    throws OFXSyntaxException
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.
Throws:
OFXSyntaxException

endAggregate

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

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


Copyright © 2008. All Rights Reserved.