All Downloads are FREE. Search and download functionalities are using the official Maven repository.

enterprises.orbital.impl.evexmlapi.shared.AbstractAccountBalanceParser Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package enterprises.orbital.impl.evexmlapi.shared;

import org.apache.commons.digester.Digester;

import enterprises.orbital.impl.evexmlapi.AbstractApiParser;
import enterprises.orbital.impl.evexmlapi.ApiConnector;
import enterprises.orbital.impl.evexmlapi.ApiEndpoint;

public abstract class AbstractAccountBalanceParser extends AbstractApiParser {
  protected AbstractAccountBalanceParser(ApiConnector connector, ApiEndpoint endpoint) {
    super(connector, AccountBalanceResponse.class, endpoint);
  }

  @Override
  protected Digester getDigester() {
    Digester digester = super.getDigester();
    digester.addObjectCreate("eveapi/result/rowset/row", ApiAccountBalance.class);
    digester.addSetProperties("eveapi/result/rowset/row");
    digester.addSetNext("eveapi/result/rowset/row", "addAccountBalance");
    return digester;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy