net.sf.ofx4j.io
Interface OFXAggregate


public interface OFXAggregate

An OFX aggregate is just an aggregate of name-value pairs that identify the elements and element values of the aggregate. The element values can strings or another (sub)aggregate. The implementation of a

Author:
Ryan Heaton

Method Summary
 boolean containsElement(java.lang.String elementName)
          Whether this aggregate contains the specified element.
 java.util.List<java.lang.String> elementNames()
          The element names of this aggregate.
 java.lang.Object getElementValue(java.lang.String elementName)
          The value of the element.
 java.lang.String getName()
          The name of the OFX aggregate.
 

Method Detail

getName

java.lang.String getName()
The name of the OFX aggregate.

Returns:
The name of the aggregate.

containsElement

boolean containsElement(java.lang.String elementName)
Whether this aggregate contains the specified element.

Parameters:
elementName - The name of the element.
Returns:
Whether this aggregate contains the specified element.

elementNames

java.util.List<java.lang.String> elementNames()
The element names of this aggregate.

Returns:
The element names of this aggregate.

getElementValue

java.lang.Object getElementValue(java.lang.String elementName)
The value of the element. This will be either a string or another OFXAggregate.

Parameters:
elementName - The name of the element.
Returns:
The value of the specified element.


Copyright © 2008. All Rights Reserved.