org.activiti.engine.impl.juel
枚举 Builder.Feature

java.lang.Object
  继承者 java.lang.Enum<Builder.Feature>
      继承者 org.activiti.engine.impl.juel.Builder.Feature
所有已实现的接口:
Serializable, Comparable<Builder.Feature>
包容类:
Builder

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

Feature enumeration type.


枚举常量摘要
METHOD_INVOCATIONS
          Method invocations as in ${foo.bar(1)} as specified in JSR 245, maintenance release 2.
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.
 
方法摘要
static Builder.Feature valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static Builder.Feature[] values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 
从类 java.lang.Enum 继承的方法
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

枚举常量详细信息

METHOD_INVOCATIONS

public static final Builder.Feature METHOD_INVOCATIONS
Method invocations as in ${foo.bar(1)} as specified in JSR 245, maintenance release 2. The method to be invoked is resolved at evaluation time by calling ELResolver#invoke(javax.el.ELContext, Object, Object, Class[], Object[]).


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.

方法详细信息

values

public static Builder.Feature[] values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。该方法可用于迭代 常量,如下所示:
for (Builder.Feature c : Builder.Feature.values())
    System.out.println(c);


valueOf

public static Builder.Feature valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格。)

参数:
name - 要返回的枚举常量的名称。
返回:
返回带有指定名称的枚举常量
抛出:
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException


Copyright © 2013 Alfresco. All rights reserved.