de.odysseus.el.tree.impl
Enum Builder.Feature

java.lang.Object
  extended by java.lang.Enum<Builder.Feature>
      extended by de.odysseus.el.tree.impl.Builder.Feature
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Builder.Feature>
Enclosing class:
Builder

public static enum Builder.Feature
extends java.lang.Enum<Builder.Feature>

Feature enumeration type.


Enum Constant Summary
METHOD_INVOCATIONS
          Method invocations as in ${foo.bar(1)} are a JUEL extension.
NULL_PROPERTIES
          For some reason we don't understand, the specification does not allow to resolve null property values.
VARARGS
          Allow for use of Java 5 varargs in function calls (and - if enabled - in method invocations).
 
Method Summary
static Builder.Feature valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Builder.Feature[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

METHOD_INVOCATIONS

public static final Builder.Feature METHOD_INVOCATIONS
Method invocations as in ${foo.bar(1)} are a JUEL extension. The method to be invoked is resolved at evaluation just like properties. That is, a specialized resolver will have to be provided at evaluation time.


NULL_PROPERTIES

public static final Builder.Feature NULL_PROPERTIES
For some reason we don't understand, the specification does not allow to resolve null property values. E.g. ${map[key]} will always return null if key evaluates to null. Enabling this feature will allow JUEL to pass null to the property resolvers just like any other property value.


VARARGS

public static final Builder.Feature VARARGS
Allow for use of Java 5 varargs in function calls (and - if enabled - in method invocations).

Method Detail

values

public static final Builder.Feature[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Builder.Feature c : Builder.Feature.values())
        System.out.println(c);

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

valueOf

public static Builder.Feature 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

Copyright © 2006-2009 Odysseus Software GmbH.