Package org.apache.ivy.util
Enum XMLHelper.ExternalResources
- java.lang.Object
-
- java.lang.Enum<XMLHelper.ExternalResources>
-
- org.apache.ivy.util.XMLHelper.ExternalResources
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<XMLHelper.ExternalResources>
- Enclosing class:
- XMLHelper
public static enum XMLHelper.ExternalResources extends java.lang.Enum<XMLHelper.ExternalResources>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
IGNORE
LOCAL_ONLY
PROHIBIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XMLHelper.ExternalResources
fromSystemProperty()
static XMLHelper.ExternalResources
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static XMLHelper.ExternalResources[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROHIBIT
public static final XMLHelper.ExternalResources PROHIBIT
-
IGNORE
public static final XMLHelper.ExternalResources IGNORE
-
LOCAL_ONLY
public static final XMLHelper.ExternalResources LOCAL_ONLY
-
ALL
public static final XMLHelper.ExternalResources ALL
-
-
Method Detail
-
values
public static XMLHelper.ExternalResources[] 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 (XMLHelper.ExternalResources c : XMLHelper.ExternalResources.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XMLHelper.ExternalResources 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 namejava.lang.NullPointerException
- if the argument is null
-
fromSystemProperty
public static XMLHelper.ExternalResources fromSystemProperty()
-
-