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

com.beimin.eveapi.handler.eve.CharacterLookupHandler Maven / Gradle / Ivy

There is a newer version: 7.0.4
Show newest version
package com.beimin.eveapi.handler.eve;

import org.xml.sax.Attributes;

import com.beimin.eveapi.handler.AbstractContentListHandler;
import com.beimin.eveapi.model.eve.CharacterLookup;
import com.beimin.eveapi.response.eve.CharacterLookupResponse;

public class CharacterLookupHandler extends AbstractContentListHandler {

	public CharacterLookupHandler() {
		super(CharacterLookupResponse.class);
	}

	@Override
	protected CharacterLookup getItem(Attributes attrs) {
		CharacterLookup lookup = new CharacterLookup();
		lookup.setCharacterID(getLong(attrs, "characterID"));
		lookup.setName(getString(attrs, "name"));
		return lookup;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy