com.skype.api
Enum Skype.NormalizeResult

java.lang.Object
  extended by java.lang.Enum<Skype.NormalizeResult>
      extended by com.skype.api.Skype.NormalizeResult
All Implemented Interfaces:
EnumConverting, java.io.Serializable, java.lang.Comparable<Skype.NormalizeResult>
Enclosing class:
Skype

public static enum Skype.NormalizeResult
extends java.lang.Enum<Skype.NormalizeResult>
implements EnumConverting


Enum Constant Summary
IDENTITY_CONTAINS_INVALID_CHAR
           
IDENTITY_EMPTY
           
IDENTITY_OK
           
IDENTITY_TOO_LONG
           
PSTN_NUMBER_HAS_INVALID_PREFIX
          identity looks like pstn number but does not start with +/00/011
PSTN_NUMBER_TOO_SHORT
           
SKYPENAME_SHORTER_THAN_6_CHARS
          returned only when isNewSkypeName
SKYPENAME_STARTS_WITH_NONALPHA
           
 
Field Summary
static int IDENTITY_CONTAINS_INVALID_CHAR_VALUE
           
static int IDENTITY_EMPTY_VALUE
           
static int IDENTITY_OK_VALUE
           
static int IDENTITY_TOO_LONG_VALUE
           
static int PSTN_NUMBER_HAS_INVALID_PREFIX_VALUE
           
static int PSTN_NUMBER_TOO_SHORT_VALUE
           
static int SKYPENAME_SHORTER_THAN_6_CHARS_VALUE
           
static int SKYPENAME_STARTS_WITH_NONALPHA_VALUE
           
 
Method Summary
 EnumConverting convert(int from)
           
static Skype.NormalizeResult get(int from)
           
 EnumConverting[] getArray(int size)
           
 EnumConverting getDefault()
           
 int getId()
           
static Skype.NormalizeResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Skype.NormalizeResult[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IDENTITY_OK

public static final Skype.NormalizeResult IDENTITY_OK

IDENTITY_EMPTY

public static final Skype.NormalizeResult IDENTITY_EMPTY

IDENTITY_TOO_LONG

public static final Skype.NormalizeResult IDENTITY_TOO_LONG

IDENTITY_CONTAINS_INVALID_CHAR

public static final Skype.NormalizeResult IDENTITY_CONTAINS_INVALID_CHAR

PSTN_NUMBER_TOO_SHORT

public static final Skype.NormalizeResult PSTN_NUMBER_TOO_SHORT

PSTN_NUMBER_HAS_INVALID_PREFIX

public static final Skype.NormalizeResult PSTN_NUMBER_HAS_INVALID_PREFIX
identity looks like pstn number but does not start with +/00/011


SKYPENAME_STARTS_WITH_NONALPHA

public static final Skype.NormalizeResult SKYPENAME_STARTS_WITH_NONALPHA

SKYPENAME_SHORTER_THAN_6_CHARS

public static final Skype.NormalizeResult SKYPENAME_SHORTER_THAN_6_CHARS
returned only when isNewSkypeName

Field Detail

IDENTITY_OK_VALUE

public static final int IDENTITY_OK_VALUE
See Also:
Constant Field Values

IDENTITY_EMPTY_VALUE

public static final int IDENTITY_EMPTY_VALUE
See Also:
Constant Field Values

IDENTITY_TOO_LONG_VALUE

public static final int IDENTITY_TOO_LONG_VALUE
See Also:
Constant Field Values

IDENTITY_CONTAINS_INVALID_CHAR_VALUE

public static final int IDENTITY_CONTAINS_INVALID_CHAR_VALUE
See Also:
Constant Field Values

PSTN_NUMBER_TOO_SHORT_VALUE

public static final int PSTN_NUMBER_TOO_SHORT_VALUE
See Also:
Constant Field Values

PSTN_NUMBER_HAS_INVALID_PREFIX_VALUE

public static final int PSTN_NUMBER_HAS_INVALID_PREFIX_VALUE
See Also:
Constant Field Values

SKYPENAME_STARTS_WITH_NONALPHA_VALUE

public static final int SKYPENAME_STARTS_WITH_NONALPHA_VALUE
See Also:
Constant Field Values

SKYPENAME_SHORTER_THAN_6_CHARS_VALUE

public static final int SKYPENAME_SHORTER_THAN_6_CHARS_VALUE
See Also:
Constant Field Values
Method Detail

values

public static Skype.NormalizeResult[] 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 (Skype.NormalizeResult c : Skype.NormalizeResult.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Skype.NormalizeResult valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()
Specified by:
getId in interface EnumConverting

getDefault

public EnumConverting getDefault()
Specified by:
getDefault in interface EnumConverting

convert

public EnumConverting convert(int from)
Specified by:
convert in interface EnumConverting

getArray

public EnumConverting[] getArray(int size)
Specified by:
getArray in interface EnumConverting

get

public static Skype.NormalizeResult get(int from)


Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.