SMILA 1.0 API documentation

org.eclipse.smila.processing.pipelets
Enum ReplacePipelet.Type

java.lang.Object
  extended by java.lang.Enum<ReplacePipelet.Type>
      extended by org.eclipse.smila.processing.pipelets.ReplacePipelet.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ReplacePipelet.Type>
Enclosing class:
ReplacePipelet

public static enum ReplacePipelet.Type
extends java.lang.Enum<ReplacePipelet.Type>

The type of the replacement.


Enum Constant Summary
entity
          The pattern matches the whole string.
regexp
          The pattern is a regular expression.
substring
          The pattern matches a part of the string.
 
Method Summary
static ReplacePipelet.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ReplacePipelet.Type[] 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

entity

public static final ReplacePipelet.Type entity
The pattern matches the whole string.


substring

public static final ReplacePipelet.Type substring
The pattern matches a part of the string.


regexp

public static final ReplacePipelet.Type regexp
The pattern is a regular expression.

Method Detail

values

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

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

valueOf

public static ReplacePipelet.Type 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
java.lang.NullPointerException - if the argument is null

SMILA 1.0 API documentation