com.neeve.util
Enum UtlTailoring.STYLE

java.lang.Object
  extended by java.lang.Enum<UtlTailoring.STYLE>
      extended by com.neeve.util.UtlTailoring.STYLE
All Implemented Interfaces:
Serializable, Comparable<UtlTailoring.STYLE>
Enclosing class:
UtlTailoring

public static enum UtlTailoring.STYLE
extends Enum<UtlTailoring.STYLE>

Enumerates possible tailoring styles.


Enum Constant Summary
PROPFILE
          Used for overriding key=value pairs in a properties file.
SPRING
          Replacement Strings of the form: ${propName,default-value}
SUBST
          Replacement Strings of the form: $subst(%propName::defaultvalue%)
 
Method Summary
static UtlTailoring.STYLE toStyle(String name)
           
static UtlTailoring.STYLE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UtlTailoring.STYLE[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SPRING

public static final UtlTailoring.STYLE SPRING
Replacement Strings of the form: ${propName,default-value}


PROPFILE

public static final UtlTailoring.STYLE PROPFILE
Used for overriding key=value pairs in a properties file.


SUBST

public static final UtlTailoring.STYLE SUBST
Replacement Strings of the form: $subst(%propName::defaultvalue%)

Method Detail

values

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

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

valueOf

public static UtlTailoring.STYLE 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

toStyle

public static UtlTailoring.STYLE toStyle(String name)


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.