tigase.xmpp.impl
Enum DomainFilter.DOMAINS

java.lang.Object
  extended by java.lang.Enum<DomainFilter.DOMAINS>
      extended by tigase.xmpp.impl.DomainFilter.DOMAINS
All Implemented Interfaces:
Serializable, Comparable<DomainFilter.DOMAINS>
Enclosing class:
DomainFilter

public static enum DomainFilter.DOMAINS
extends Enum<DomainFilter.DOMAINS>

Enum description


Enum Constant Summary
ALL
           
BLOCK
           
LIST
           
LOCAL
           
OWN
           
 
Method Summary
static DomainFilter.DOMAINS valueof(String domains)
          Method description
static DomainFilter.DOMAINS valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DomainFilter.DOMAINS[] 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

ALL

public static final DomainFilter.DOMAINS ALL

LOCAL

public static final DomainFilter.DOMAINS LOCAL

OWN

public static final DomainFilter.DOMAINS OWN

BLOCK

public static final DomainFilter.DOMAINS BLOCK

LIST

public static final DomainFilter.DOMAINS LIST
Method Detail

values

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

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

valueOf

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

valueof

public static DomainFilter.DOMAINS valueof(String domains)
Method description

Parameters:
domains -
Returns:


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.