net.sf.ofx4j.io
Class AggregateMarshaller

java.lang.Object
  extended by net.sf.ofx4j.io.AggregateMarshaller

public class AggregateMarshaller
extends java.lang.Object

Marshaller for aggregate objects.

Author:
Ryan Heaton

Constructor Summary
AggregateMarshaller()
           
 
Method Summary
 StringConversion getConversion()
          The conversion.
 void marshal(java.lang.Object aggregate, OFXWriter writer)
          Marshal the specified aggregate object.
 void setConversion(StringConversion conversion)
          The conversion.
protected  void writeAggregateAttributes(java.lang.Object aggregate, OFXWriter writer, java.util.SortedSet<AggregateAttribute> aggregateAttributes)
          Write the aggregate attributes for the specified aggregate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateMarshaller

public AggregateMarshaller()
Method Detail

marshal

public void marshal(java.lang.Object aggregate,
                    OFXWriter writer)
             throws java.io.IOException
Marshal the specified aggregate object.

Parameters:
aggregate - The aggregate to marshal.
writer - The writer.
Throws:
java.io.IOException

writeAggregateAttributes

protected void writeAggregateAttributes(java.lang.Object aggregate,
                                        OFXWriter writer,
                                        java.util.SortedSet<AggregateAttribute> aggregateAttributes)
                                 throws java.io.IOException
Write the aggregate attributes for the specified aggregate.

Parameters:
aggregate - The aggregate.
writer - The writer.
aggregateAttributes - The aggregate attributes.
Throws:
java.io.IOException

getConversion

public StringConversion getConversion()
The conversion.

Returns:
The conversion.

setConversion

public void setConversion(StringConversion conversion)
The conversion.

Parameters:
conversion - The conversion.


Copyright © 2008. All Rights Reserved.