当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
FunctionFixer - JBoss RULES 3.0.6 API 英文版文档
org.drools.semantics.java
Class FunctionFixer
java.lang.Object
org.drools.semantics.java.FunctionFixer
public class FunctionFixer
- extends java.lang.Object
This horrific utility adds in the function class name (which is the same as the functions method name)
into the RHS guts of a rule. It has to tip toe around method calls, new declarations and other
stuff like that.
A better future solution is to use a static import as found in Java 5, then ALL THIS can
disappear. Oh Happy day.
Method Summary |
java.lang.String |
fix(java.lang.String raw)
|
java.lang.String |
fix(java.lang.String raw,
java.util.regex.Pattern pattern)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionFixer
public FunctionFixer()
fix
public java.lang.String fix(java.lang.String raw)
fix
public java.lang.String fix(java.lang.String raw,
java.util.regex.Pattern pattern)