net.sourceforge.jgeocoder
Enum AddressComponent
java.lang.Object
java.lang.Enum<AddressComponent>
net.sourceforge.jgeocoder.AddressComponent
- All Implemented Interfaces:
- Serializable, Comparable<AddressComponent>
public enum AddressComponent
- extends Enum<AddressComponent>
TODO javadocs me
- Author:
- jliang
NAME
public static final AddressComponent NAME
PREDIR
public static final AddressComponent PREDIR
NUMBER
public static final AddressComponent NUMBER
STREET
public static final AddressComponent STREET
POSTDIR
public static final AddressComponent POSTDIR
TYPE
public static final AddressComponent TYPE
LINE2
public static final AddressComponent LINE2
CITY
public static final AddressComponent CITY
STATE
public static final AddressComponent STATE
ZIP
public static final AddressComponent ZIP
PREDIR2
public static final AddressComponent PREDIR2
STREET2
public static final AddressComponent STREET2
POSTDIR2
public static final AddressComponent POSTDIR2
TYPE2
public static final AddressComponent TYPE2
LAT
public static final AddressComponent LAT
LON
public static final AddressComponent LON
COUNTY
public static final AddressComponent COUNTY
TLID
public static final AddressComponent TLID
values
public static AddressComponent[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AddressComponent c : AddressComponent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AddressComponent valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2008. All Rights Reserved.