Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.services.util

Class TopLevelDomain

com.gentleware.services.util.TopLevelDomain

public class TopLevelDomain



 Attribute Summary
private String  _country
 
private static Map  _country2TopLevelDomain
 
private String  _countryCode
 
private String  _name
 
private static Map  _name2TopLevelDomain
 
arrow_up
 

 Constructor Summary
private   TopLevelDomain(String name, String country)
 
private   TopLevelDomain(String name, String country, String countryCode)
 
arrow_up
 

 Method Summary
private static void   __initializer()
 
public static String[]   getAllCountries()
 
public static TopLevelDomain   getByCountry(String country)
 
public static TopLevelDomain   getByDomainName(String topLevelDomainName)
 
public String   getCountry()
 
public String   getCountryCode()
 
public String   getName()
 
public boolean   isCountryDomain()
 
public static boolean   isValidDomainName(String topLevelDomainName)
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 9
gentleware-imported-package-statement-line-number 5
 

 Attribute Detail

_country

private String _country

arrow_up


_country2TopLevelDomain

private static Map _country2TopLevelDomain

arrow_up


_countryCode

private String _countryCode

arrow_up


_name

private String _name

arrow_up


_name2TopLevelDomain

private static Map _name2TopLevelDomain

arrow_up
 Constructor Detail

TopLevelDomain

private com.gentleware.services.util.TopLevelDomain TopLevelDomain(String name, String country)

Parameters:
name - e.g. "com", "net", "info", "de", "us"
country - will be null for non-country-domains ("com", "info", ...), else english name of country
Returns:
arrow_up


TopLevelDomain

private com.gentleware.services.util.TopLevelDomain TopLevelDomain(String name, String country, String countryCode)

Parameters:
name -
country -
countryCode -
Returns:
arrow_up
 Method Detail

__initializer

private static void __initializer()

arrow_up


getAllCountries

public static String[] getAllCountries()

Returns:
arrow_up


getByCountry

public static TopLevelDomain getByCountry(String country)

Parameters:
country -
Returns:
arrow_up


getByDomainName

public static TopLevelDomain getByDomainName(String topLevelDomainName)

Parameters:
topLevelDomainName -
Returns:
arrow_up


getCountry

public String getCountry()

Returns:
arrow_up


getCountryCode

public String getCountryCode()

Returns:
arrow_up


getName

public String getName()

Returns:
arrow_up


isCountryDomain

public boolean isCountryDomain()

Returns:
true iff this domain is specific to a country as opposed to generic domains like ".com", ".info"
arrow_up


isValidDomainName

public static boolean isValidDomainName(String topLevelDomainName)

Parameters:
topLevelDomainName -
Returns:
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.