|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTrustEdgeContext
public final class TrustEdgeContext
A context for restricting a trust edge.
| Constructor Summary | |
|---|---|
TrustEdgeContext(Register register,
String residence0,
String residence1,
String voter0Email,
String voter1Email)
Constructs a TrustEdgeContext. |
|
| Method Summary | |
|---|---|
Geocode |
geocode(String address)
Deprecated. |
Geocode |
geocode(String address,
String ccTLD)
Geocodes a residential address. |
Register |
register()
The electoral register. |
String |
residence0()
The source voter's primary residential address. |
String |
residence1()
The destination voter's primary residential address. |
String |
voter0Email()
The email address of the source voter. |
String |
voter1Email()
The email address of the destination voter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
TrustEdgeContext(Register register,
String residence0,
String residence1,
String voter0Email,
String voter1Email)
residence0 - per residence0()residence1 - per residence1()voter0Email - per voter0Email()voter1Email - per voter1Email()| Method Detail |
|---|
@Deprecated
public Geocode geocode(String address)
throws MisconfigurationException,
IOException,
SQLException
MisconfigurationException
IOException
SQLException
public Geocode geocode(String address,
String ccTLD)
throws MisconfigurationException,
IOException,
SQLException
address - the residential address to geocode, in a form that is
minimal, canonical, and suitable for the configured geocoding methodccTLD - the two-character, "top-level domain" country code of the address;
or null to specify none
MisconfigurationException - if the geocode data is not cached, and no
geocoding method is configured for the electoral register
IOException
SQLExceptionRegister.geocodingMethod()public Register register()
public String residence0()
public String residence1()
public String voter0Email()
public String voter1Email()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||