クラス CreateXmlFromItemToFile
java.lang.Object
jp.ne.mki.wedge.rule.base.AbstractBase
jp.ne.mki.wedge.rule.base.AbstractCommon
jp.ne.mki.wedge.rule.common.xml.AbstractGetXmlFromItem
jp.ne.mki.wedge.rule.common.xml.CreateXmlFromItemToFile
- すべての実装されたインタフェース:
CommonInterface
,jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
データを xml の形へ変換し、ファイルへ出力又はデータへ格納する。
InRecordに設定されたデータを、 xml の書式の形にし、 パラメータ xml-filename で指定されたファイルへ出力します。 このロジッククラスを使用するときは、XML のパースと XSLT を行うモジュールを クラスパスに含める必要があります。
[I/O RECORD]
InputRecord | OutputRecord |
---|---|
|
[RULE PARAMETER]
Parameter | xml-encode=xml ファイルのエンコード(省略時は UTF-8); xml-filename=作成した xml を出力するファイル名(省略不可) |
---|
- バージョン:
- 1.0
-
フィールドの概要
クラスから継承されたフィールド jp.ne.mki.wedge.rule.common.xml.AbstractGetXmlFromItem
DEFAULT_XML_ENCODE, enc, PARAMETER_KEY_XML_ENCODE, ruleParameters
クラスから継承されたフィールド 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
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
クラスから継承されたメソッド jp.ne.mki.wedge.rule.common.xml.AbstractGetXmlFromItem
getInputStream, loopInRecordSub, writeToOutputStream
クラスから継承されたメソッド jp.ne.mki.wedge.rule.base.AbstractCommon
getLogicClassType, getManager, terminate
クラスから継承されたメソッド 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
-
コンストラクタの詳細
-
CreateXmlFromItemToFile
public CreateXmlFromItemToFile()
-
-
メソッドの詳細
-
exit
public void exit()クラスからコピーされた説明:AbstractGetXmlFromItem
使用していたオブジェクトの開放を行います。 継承先で Override する場合は必ず最後に「super.exit()」を実行してください。- 定義:
exit
インタフェース内CommonInterface
- 定義:
exit
インタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
- オーバーライド:
exit
クラス内AbstractGetXmlFromItem
-
getIOParameter
public int getIOParameter()クラスからコピーされた説明:AbstractGetXmlFromItem
出力項目に設定されている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
クラス内AbstractGetXmlFromItem
- 戻り値:
- int 結果
-
execute
入力項目より、標準DTDに沿った xml を生成しファイル or OutRecord に出力します。- 戻り値:
- int 結果
- 例外:
Throwable
-