jp.ne.mki.wedge.rule.common.xml
クラス ReadXmlFromDataLineMatch

java.lang.Object
  上位を拡張 jp.ne.mki.wedge.rule.base.AbstractBase
      上位を拡張 jp.ne.mki.wedge.rule.base.AbstractCommon
          上位を拡張 jp.ne.mki.wedge.rule.common.xml.AbstractReadXmlFromData
              上位を拡張 jp.ne.mki.wedge.rule.common.xml.ReadXmlFromDataLineMatch
すべての実装されたインタフェース:
CommonInterface, ReadXmlInterface, RuleEngineInterface

public class ReadXmlFromDataLineMatch
extends AbstractReadXmlFromData

XMLを解析してデータへ展開(行一致)


ロジッククラス引数にXMLが格納されたXMLを設定します。
このXMLは、WriteXmlToDataによって作成されるXMLと同じ形を持っているものとします。

XMLのデータに設定されている順序と同じ順序でOutRecordへとデータを展開します。
XML内に三つのデータが記述されている場合は、OutRecordにも三つのデータが必要となります。


[I/O RECORD]

InputRecord OutputRecord
  1. XML
  1. XMLの中身を格納するデータ(複数選択)

[RULE PARAMETER]

Parameter

導入されたバージョン:
1.1.0
バージョン:
1.0

フィールドの概要
 
クラス jp.ne.mki.wedge.rule.common.xml.AbstractReadXmlFromData から継承されたフィールド
root
 
クラス 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
 
コンストラクタの概要
ReadXmlFromDataLineMatch()
           
 
メソッドの概要
 byte[] getXml()
          XMLを取得
 java.lang.String getXPath(java.lang.String dataPhysicalName, int dataPosition)
          Dataに格納するデータのXPathを返す
 
クラス jp.ne.mki.wedge.rule.common.xml.AbstractReadXmlFromData から継承されたメソッド
execute, exit, getAttributeName, getIOParameter, getNodeList, parse, parseError, setData, setData, setDataError, setDatas
 
クラス 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, loopInRecordSub, 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
 

コンストラクタの詳細

ReadXmlFromDataLineMatch

public ReadXmlFromDataLineMatch()
メソッドの詳細

getXPath

public java.lang.String getXPath(java.lang.String dataPhysicalName,
                                 int dataPosition)
                          throws java.lang.Throwable
Dataに格納するデータのXPathを返す

パラメータ:
String - Dataの物理名称
int - Dataの設定順番
戻り値:
String XPath
例外:
java.lang.Throwable

getXml

public byte[] getXml()
              throws java.lang.Throwable
XMLを取得

戻り値:
byte[] XMLのバイト配列
例外:
java.lang.Throwable