enterprises.orbital.impl.evexmlapi.chr.CharacterSheetRowsetFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eve-xml-api Show documentation
Show all versions of eve-xml-api Show documentation
Library to interact with EVE XML API servers
package enterprises.orbital.impl.evexmlapi.chr;
import org.apache.commons.digester.AbstractObjectCreationFactory;
import org.xml.sax.Attributes;
/**
* Factory which returns generic row data collector based on type.
*/
public class CharacterSheetRowsetFactory extends AbstractObjectCreationFactory {
@Override
public Object createObject(Attributes attr) {
String type = attr.getValue("name");
return new CharacterSheetRowsetDataCollector(type);
}
}