ariba.util.core
Class RegexFunction

java.lang.Object
  extended by ariba.util.core.Function<java.lang.String>
      extended by ariba.util.core.RegexFunction

public class RegexFunction
extends Function<java.lang.String>


Nested Class Summary
static class RegexFunction.Instruction
           
 
Nested classes/interfaces inherited from class ariba.util.core.Function
Function.MethodFunction<T>
 
Field Summary
static int DefaultGroupNumber
           
static RegexFunction.Instruction DefaultInstruction
           
 
Fields inherited from class ariba.util.core.Function
Identity
 
Constructor Summary
RegexFunction(java.util.regex.Pattern pattern)
           
RegexFunction(java.util.regex.Pattern pattern, int groupNumber)
           
RegexFunction(java.util.regex.Pattern pattern, int groupNumber, RegexFunction.Instruction instruction)
           
 
Method Summary
 java.lang.String evaluate(java.lang.Object... arguments)
          Evaluates the supplied arguments returning an instance of type K.
 java.lang.String extract(java.lang.String string)
           
 
Methods inherited from class ariba.util.core.Function
collect, collect, collectInto, hasSameValue, identity, make, make, map, map, mapInto, reverseMapInto, reverseMapInto, split, splitInto, splitInto, splitInto
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DefaultGroupNumber

public static final int DefaultGroupNumber
See Also:
Constant Field Values

DefaultInstruction

public static final RegexFunction.Instruction DefaultInstruction
Constructor Detail

RegexFunction

public RegexFunction(java.util.regex.Pattern pattern,
                     int groupNumber,
                     RegexFunction.Instruction instruction)

RegexFunction

public RegexFunction(java.util.regex.Pattern pattern,
                     int groupNumber)

RegexFunction

public RegexFunction(java.util.regex.Pattern pattern)
Method Detail

evaluate

public final java.lang.String evaluate(java.lang.Object... arguments)
Description copied from class: Function
Evaluates the supplied arguments returning an instance of type K.

Specified by:
evaluate in class Function<java.lang.String>
Parameters:
arguments - the arguments to be evaulated
Returns:
the instance of K

extract

public final java.lang.String extract(java.lang.String string)


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.