org.deegree.commons.tom
Enum ResolveMode

java.lang.Object
  extended by java.lang.Enum<ResolveMode>
      extended by org.deegree.commons.tom.ResolveMode
All Implemented Interfaces:
Serializable, Comparable<ResolveMode>

public enum ResolveMode
extends Enum<ResolveMode>

Discriminates the different modes for resolving References.

Version:
$Revision: 31719 $, $Date: 2011-09-01 17:24:40 +0200 (Thu, 01 Sep 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Enum Constant Summary
ALL
          Both local and remote references are resolved
LOCAL
          Only local references are resolved
NONE
          Neither local nor remote references are resolved
REMOTE
          Only remote references are resolved
 
Method Summary
static ResolveMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResolveMode[] 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

NONE

public static final ResolveMode NONE
Neither local nor remote references are resolved


LOCAL

public static final ResolveMode LOCAL
Only local references are resolved


REMOTE

public static final ResolveMode REMOTE
Only remote references are resolved


ALL

public static final ResolveMode ALL
Both local and remote references are resolved

Method Detail

values

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

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

valueOf

public static ResolveMode 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


Copyright © 2011. All Rights Reserved.