- すべての実装されたインタフェース:
CommonInterface
, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
xslt
データを xml の形へ変換したソースを、指定された xsl で変換。
InRecordに設定されたデータを xml の書式の形にしたソースを
パラメータ xsl-filename で指定された xsl ファイルで変換し、
パラメータ resul-filename で指定されたファイルへ出力します
このロジッククラスを使用するときは、XML のパースと XSLT を行うモジュールを
クラスパスに含める必要があります。
[I/O RECORD]
InputRecord |
OutputRecord |
- データ(複数選択)
|
|
[RULE PARAMETER]
Parameter |
xsl-filename=xsl ファイル名;
result-filename=xslt 結果を出力するファイル名
指定方法:「キー=値」
複数指定時のパラメータ間は「;」で区切る。
|
- バージョン:
- 1.0
-
フィールドの概要
クラスから継承されたフィールド jp.ne.mki.wedge.rule.base.AbstractBase
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
インタフェースから継承されたフィールド jp.ne.mki.wedge.rule.base.interfaces.CommonInterface
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
-
-
メソッドの概要
int
void
int
出力項目に設定されているDataオブジェクトを取得します。
クラスから継承されたメソッド jp.ne.mki.wedge.rule.base.AbstractBase
callDispose, checkDelegate, createErrorMessage, createLogicErrorLogRecord, createLogicExceptionLogRecord, createLogicLogRecord, dataClearOfOutRecord, dataClearOfRecord, dispose, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantKeys, getConstantValue, getConstantValueAsStringArray, getControlRecord, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getEngineManager, getErrorMessage, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInputRecordIterator, getInRecord, getInRecord, getInRecord, getInRecordCount, getInRecordList, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getLogicClassDelegate, getOutputHtml, getOutputRecordIterator, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getOutRecordList, 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, log, logDebug, logError, logError, logFatal, logFatal, logInfo, logTrace, logWarn, logWarn, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopOutRecord, loopOutRecordSub, setControlRecord, setEngineManager, setErrorMessage, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setFatalError, setId, setInRecord, setLogicalName, setLogicClassDelegate, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialog, showErrorDialogAddRuleName, writeErrorLog, writeErrorLog, writeLog, writeLog, writeLog, writeTraceLog
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
メソッドの詳細
-
exit
public void exit()
使用していたオブジェクトの開放を行います。
継承先で Override する場合は必ず最後に「super.exit()」を実行してください。
- 定義:
exit
インタフェース内 CommonInterface
- 定義:
exit
インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
- オーバーライド:
exit
クラス内 AbstractXsltFromItem
-
getIOParameter
public int getIOParameter()
出力項目に設定されているDataオブジェクトを取得します。
継承先で Override する場合は必ず
public int getIOParameter() {
if ( super.getIOParameter() == OK ) {
// 実行したい処理
}
else {
return ERROR;
}
return OK;
}
の記述方法を使用してください。
- 定義:
getIOParameter
インタフェース内 CommonInterface
- 定義:
getIOParameter
インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
- オーバーライド:
getIOParameter
クラス内 AbstractXsltFromItem
- 戻り値:
- int 結果
-
execute
処理を実行。
- 戻り値:
- int
OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)、SKIP=次行を実行しない、USER_ERROR=戻り値をユーザ側で任意に設定
- 例外:
Throwable