org.ofbiz.minilang.operation
Class Regexp

java.lang.Object
  extended by org.ofbiz.minilang.operation.SimpleMapOperation
      extended by org.ofbiz.minilang.operation.Regexp

public class Regexp
extends SimpleMapOperation

Validates the current field using a regular expression


Field Summary
static java.lang.String module
           
 
Constructor Summary
Regexp(org.w3c.dom.Element element, SimpleMapProcess simpleMapProcess)
           
 
Method Summary
 void exec(java.util.Map<java.lang.String,java.lang.Object> inMap, java.util.Map<java.lang.String,java.lang.Object> results, java.util.List<java.lang.Object> messages, java.util.Locale locale, java.lang.ClassLoader loader)
           
 
Methods inherited from class org.ofbiz.minilang.operation.SimpleMapOperation
addMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module
Constructor Detail

Regexp

public Regexp(org.w3c.dom.Element element,
              SimpleMapProcess simpleMapProcess)
Method Detail

exec

public void exec(java.util.Map<java.lang.String,java.lang.Object> inMap,
                 java.util.Map<java.lang.String,java.lang.Object> results,
                 java.util.List<java.lang.Object> messages,
                 java.util.Locale locale,
                 java.lang.ClassLoader loader)
Specified by:
exec in class SimpleMapOperation