test
Class State

java.lang.Object
  extended bytest.State

public class State
extends java.lang.Object

Represents a State. Used in conjunction to test out the xml-ezparse API.


Method Summary
 java.lang.String getCapital()
          Return the state capital.
 java.lang.String getCode()
          Return the state code.
 java.lang.String getName()
          Returns this state's name.
 java.lang.String toString()
          String representation of this state instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns this state's name.

Returns:
state name

getCapital

public java.lang.String getCapital()
Return the state capital.

Returns:
the state capital

getCode

public java.lang.String getCode()
Return the state code.

Returns:
the state code as determined by the USPS

toString

public java.lang.String toString()
String representation of this state instance.

Returns:
string representation of this instance