Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.spatial.intladdress
Class IntlAddressManager

java.lang.Object
  extended byoracle.panama.spatial.intladdress.IntlAddressManager


public class IntlAddressManager
extends java.lang.Object

This is the manager class for international addresses


Nested Class Summary
static class IntlAddressManager.StringArrayIterator
This is a useful sub class to work with string array iterators

Constructor Summary
IntlAddressManager()

Method Summary
static IntlAddress createAddress(IntlAddressFormat format, java.lang.String[] componentValues)
Creates a new international address
static IntlAddress createAddress(Point geom, IntlAddressFormat format, java.lang.String[] componentValues)
Creates a new international address
static IntlAddress createAddress(Point geom, java.lang.String country, java.lang.String[] componentValues)
Creates a new international address
static Location createAddress(Point geom, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String lastLine, java.lang.String countryName)
This function creates an object of a class implementing Location.
static Location createAddress(Point geom, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName)
This function creates an object of a class implementing Location.
static Location createAddress(Point geom, java.lang.String matchCode, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String lastLine, java.lang.String countyName, java.lang.String blockNum)
This function creates an object of a class implementing Location.
static Location createAddress(Point geom, java.lang.String matchCode, java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String lastLine, java.lang.String countyName, java.lang.String blockNum, java.lang.String countryName)
This function creates an object of a class implementing Location.
static IntlAddress createAddress(java.lang.String country, java.lang.String[] componentValues)
Creates a new international address
static Location createAddress(java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String lastLine, java.lang.String countryName)
This function creates an object of a class implementing Location.
static Location createAddress(java.lang.String companyName, java.lang.String firstLine, java.lang.String secondLine, java.lang.String cityName, java.lang.String stateName, java.lang.String postalCode, java.lang.String postalCodeExt, java.lang.String countryName)
This function creates an object of a class implementing Location.
static IntlAddressFormat getAddressFormat(java.lang.String country)
Returns the available country formats for the given country
static java.util.Iterator getAddressFormats()
Returns the available country formats
static java.util.Iterator getAddressFormats(java.lang.String componentName)
Returns the available country formats for the given component

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

IntlAddressManager

public IntlAddressManager()

Method Detail

createAddress

public static IntlAddress createAddress(IntlAddressFormat format,
                                        java.lang.String[] componentValues)
Creates a new international address
Parameters:
format - the format
componentValues - the values of the components as defined in the format
Returns:
the new international address

createAddress

public static IntlAddress createAddress(Point geom,
                                        IntlAddressFormat format,
                                        java.lang.String[] componentValues)
Creates a new international address
Parameters:
geom - the point (lon/lat) of the address
format - the format
componentValues - the values of the components as defined in the format
Returns:
the new international address

createAddress

public static IntlAddress createAddress(Point geom,
                                        java.lang.String country,
                                        java.lang.String[] componentValues)
Creates a new international address
Parameters:
geom - the point (lon/lat) of the address
country - the country
componentValues - the values of the components as defined in the format local to that country
Returns:
the new international address

createAddress

public static Location createAddress(Point geom,
                                     java.lang.String companyName,
                                     java.lang.String firstLine,
                                     java.lang.String secondLine,
                                     java.lang.String lastLine,
                                     java.lang.String countryName)
This function creates an object of a class implementing Location.
Parameters:
geom - a Geometry representing the lat/lon of the location
companyName - a String representing the company name
firstLine - a String representing the first address line
secondLine - a String representing the second address line
lastLine - a String representing the last address line
countryName - a String representing the country
Returns:
an object of a class implementing Location representing the requested address

createAddress

public static Location createAddress(Point geom,
                                     java.lang.String companyName,
                                     java.lang.String firstLine,
                                     java.lang.String secondLine,
                                     java.lang.String cityName,
                                     java.lang.String stateName,
                                     java.lang.String postalCode,
                                     java.lang.String postalCodeExt,
                                     java.lang.String countryName)
This function creates an object of a class implementing Location.
Parameters:
geom - a Geometry representing the lat/lon of the location
companyName - a String representing the company name
firstLine - a String representing the first address line
secondLine - a String representing the second address line
cityName - a String representing the city name
stateName - a String representing the state name
postalCode - a String representing the postal code
postalCodeExt - a String representing the postal code extension
countryName - a String representing the country
Returns:
an object of a class implementing Location representing the requested address

createAddress

public static Location createAddress(Point geom,
                                     java.lang.String matchCode,
                                     java.lang.String companyName,
                                     java.lang.String firstLine,
                                     java.lang.String secondLine,
                                     java.lang.String cityName,
                                     java.lang.String stateName,
                                     java.lang.String postalCode,
                                     java.lang.String postalCodeExt,
                                     java.lang.String lastLine,
                                     java.lang.String countyName,
                                     java.lang.String blockNum)
This function creates an object of a class implementing Location.
Parameters:
geom - a Geometry representing the lat/lon of the location
matchCode - a String representing the match code from geocoding
companyName - a String representing the company name
firstLine - a String representing the first address line
secondLine - a String representing the second address line
cityName - a String representing the city name
stateName - a String representing the state name
postalCode - a String representing the postal code
postalCodeExt - a String representing the postal code extension
lastLine - a String representing the last address line
countyName - a String representing the county name
blockNum - a String representing the block number
Returns:
an object of a class implementing Location representing the requested address

createAddress

public static Location createAddress(Point geom,
                                     java.lang.String matchCode,
                                     java.lang.String companyName,
                                     java.lang.String firstLine,
                                     java.lang.String secondLine,
                                     java.lang.String cityName,
                                     java.lang.String stateName,
                                     java.lang.String postalCode,
                                     java.lang.String postalCodeExt,
                                     java.lang.String lastLine,
                                     java.lang.String countyName,
                                     java.lang.String blockNum,
                                     java.lang.String countryName)
This function creates an object of a class implementing Location.
Parameters:
geom - a Geometry representing the lat/lon of the location
matchCode - a String representing the match code from geocoding
companyName - a String representing the company name
firstLine - a String representing the first address line
secondLine - a String representing the second address line
cityName - a String representing the city name
stateName - a String representing the state name
postalCode - a String representing the postal code
postalCodeExt - a String representing the postal code extension
lastLine - a String representing the last address line
countyName - a String representing the county name
blockNum - a String representing the block number
countryName - a String representing the country
Returns:
an object of a class implementing Location representing the requested address

createAddress

public static IntlAddress createAddress(java.lang.String country,
                                        java.lang.String[] componentValues)
Creates a new international address
Parameters:
country - the country
componentValues - the values of the components as defined in the format local to that country
Returns:
the new international address

createAddress

public static Location createAddress(java.lang.String companyName,
                                     java.lang.String firstLine,
                                     java.lang.String secondLine,
                                     java.lang.String lastLine,
                                     java.lang.String countryName)
This function creates an object of a class implementing Location. The geographic location is geocoded automatically.
Parameters:
companyName - a String representing the company name
firstLine - a String representing the first address line
secondLine - a String representing the second address line
lastLine - a String representing the last address line
countryName - a String representing the country
Returns:
an object of a class implementing Location representing the requested address

createAddress

public static Location createAddress(java.lang.String companyName,
                                     java.lang.String firstLine,
                                     java.lang.String secondLine,
                                     java.lang.String cityName,
                                     java.lang.String stateName,
                                     java.lang.String postalCode,
                                     java.lang.String postalCodeExt,
                                     java.lang.String countryName)
This function creates an object of a class implementing Location. The geographic location is geocoded automatically.
Parameters:
companyName - a String representing the company name
firstLine - a String representing the first address line
secondLine - a String representing the second address line
cityName - a String representing the city name
stateName - a String representing the state name
postalCode - a String representing the postal code
postalCodeExt - a String representing the postal code extension
countryName - a String representing the country
Returns:
an object of a class implementing Location representing the requested address

getAddressFormat

public static IntlAddressFormat getAddressFormat(java.lang.String country)
Returns the available country formats for the given country
Parameters:
country - the name of the country
Returns:
the iterator of the available formats

getAddressFormats

public static java.util.Iterator getAddressFormats()
Returns the available country formats
Returns:
the iterator of the available formats

getAddressFormats

public static java.util.Iterator getAddressFormats(java.lang.String componentName)
Returns the available country formats for the given component
Parameters:
componentName - the name of the component
Returns:
the iterator of the available formats for the given component

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.