jp.ne.mki.wedge.rule.common.value
$B%/%i%9(B ReplaceString

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.base.AbstractBase
        |
        +--jp.ne.mki.wedge.rule.base.AbstractCommon
              |
              +--jp.ne.mki.wedge.rule.common.value.ReplaceString
$B$9$Y$F$N
CommonInterface, RuleEngineInterface

public class ReplaceString
extends AbstractCommon

$BJ8;zNsCV49(B


$B%Q%i%a!<%?$G@_Dj$5$l$?JQ99A0J8;zNs(B(String)$B$HJQ998eNs(B(String)$B$rJQ49$7$^$9!#(B
$B!V(Baaa$B!W$r!V(Bbbb$B!W$KJQ49$9$k>l9g$K$O!"%Q%i%a!<%?$K!V(Baaa,bbb$B!W$H@_Dj$7$F2<$5$$!#(B
$B$^$?!V(Baaa$B!W$r!V(BAAA$B!W$d!V(BaAa$B!W$N>l9g$bH=Dj$5$;$k>l9g$O!"!V(Baaa,bbb,true$B!W$H@_Dj$7$F2<$5$$!#(B


[I/O RECORD]

InputRecord OutputRecord
  1. $BJQ99A0$NJ8;zNs$r4^$s$@9`L\(B($BJ#?t;XDj2DG=(B)
  1. $BJQ998e$NJ8;zNs$r@_Dj$9$k9`L\(B($BJ#?t;XDj2DG=(B)

[RULE PARAMETER]

Parameter $BJQ49A0J8;zNs(B + (I"(B,(I#(B + $BJQ498eJ8;zNs(B ( + $B!V(B,$B!W(B + $BBgJ8;z>.J8;zL$6hJL(B)

$BF3F~$5$l$?%P!<%8%g%s(B:
1.1.0
$B%P!<%8%g%s(B:
1.0

$B%U%#!<%k%I$N35MW(B
($B%Q%C%1!<%8%W%i%$%Y!<%H(B)  boolean ignoreCase
           
($B%Q%C%1!<%8%W%i%$%Y!<%H(B)  java.lang.String[] params
           
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractBase $B$+$i7Q>5$7$?%U%#!<%k%I(B
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
 
$B%$%s%?%U%'!<%9(B jp.ne.mki.wedge.rule.base.interfaces.CommonInterface $B$+$i7Q>5$7$?%U%#!<%k%I(B
CANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_DEBUG, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, NONE, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR
 
$B%3%s%9%H%i%/%?$N35MW(B
ReplaceString()
           
 
$B%a%=%C%I$N35MW(B
 int execute()
          $BJQ49=hM}$r
 void exit()
          $B=*N;=hM}!#(B
 int getIOParameter()
          IO$B%Q%i%a!<%?
protected  int loopInOutRecordSub(DataInterface inItem, DataInterface outItem, int index)
          $B=PNO9`L\$K!"F~NO9`L\$NJQ498eJ8;zNs$r@_Dj$7$^$9!#(B
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractCommon $B$+$i7Q>5$7$?%a%=%C%I(B
getManager, log, setHtmlManager, setManager, setServerControlData, setWedgeLog, showErrorDialog, terminate, writeErrorLog, writeLog, writeLog, writeLog
 
$B%/%i%9(B jp.ne.mki.wedge.rule.base.AbstractBase $B$+$i7Q>5$7$?%a%=%C%I(B
callDispose, createErrorMessage, dataClearOfOutRecord, dataClearOfRecord, dispose, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutputHtml, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRowSize, getRowSizeOfInRecord, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, isJDK15, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, loopInOutRecord, loopInRecord, loopInRecordSub, loopOutRecord, loopOutRecordSub, setControlRecord, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setFatalError, setId, setInRecord, setLogicalName, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialogAddRuleName, writeTraceLog
 
$B%/%i%9(B java.lang.Object $B$+$i7Q>5$7$?%a%=%C%I(B
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

$B%U%#!<%k%I$N>\:Y(B

params

java.lang.String[] params

ignoreCase

boolean ignoreCase
$B%3%s%9%H%i%/%?$N>\:Y(B

ReplaceString

public ReplaceString()
$B%a%=%C%I$N>\:Y(B

execute

public int execute()
$BJQ49=hM}$r
$BLa$jCM(B:
int BusinessRule$B$NLa$jCM$r;2>H(B

loopInOutRecordSub

protected int loopInOutRecordSub(DataInterface inItem,
                                 DataInterface outItem,
                                 int index)
$B=PNO9`L\$K!"F~NO9`L\$NJQ498eJ8;zNs$r@_Dj$7$^$9!#(B
In/OutRecord$B$N9T?tJ,7+$jJV$7=hM}$r9T$o$l$^$9!#(B
$B%*!<%P!<%i%$%I(B:
$B%/%i%9(B AbstractBase $BFb$N(B loopInOutRecordSub
$BLa$jCM(B:
int BusinessRule$B$NLa$jCM$r;2>H(B

getIOParameter

public int getIOParameter()
IO$B%Q%i%a!<%?execute $B$NA0$K
$BLa$jCM(B:
int OK=$B=hM}B39T!"(BERROR=$B0[>o=*N;!"(BCANCEL=$B=hM}$rCfCG(B($B@5>o=*N;(B)

exit

public void exit()
$B=*N;=hM}!#J];}$7$F$$$?JQ?t$J$I$r3+J|$9$k=hM}$r5-=R$7$^$9!#(B
execute $B$N8e$K$B@5>o=*N;!&0[>o=*N;$J$I$K4X$o$i$:I,$: