クラス AbstractReadXmlFromData
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
- すべての実装されたインタフェース:
CommonInterface,ReadXmlInterface,jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
- 直系の既知のサブクラス:
ReadXmlFromDataLineMatch,ReadXmlFromDataNameMatch
-
フィールドの概要
フィールドクラスから継承されたフィールド 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 -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明intexecute()処理を実行します Inに指定されたXMLをパースし、結果をOutに格納しますvoidexit()終了処理。getAttributeName(String dataPhysicalName, int dataPosition) 値取得方法 Node以下のどの値を取得対象にするかを設定。int入出力引数を取得する Inにはxmlが格納されたITEMを一つ必ず設定する必要があります。static NodeListgetNodeList(Document root, String xPath) 対象となるNodeListを取得static Documentparse(byte[] xml) ドキュメントルートを取得voidparseError(Throwable th) XMLパースエラー発生時static final voidsetData(NodeIterator nl, jp.ne.mki.wedge.run.interfaces.DataInterface data) 指定のNodeIteratorのCDATA値からdataに値を設定するstatic final voidsetData(NodeIterator nl, jp.ne.mki.wedge.run.interfaces.DataInterface data, String attributeName) 指定のNodeIteratorの属性値からitemに値を設定するvoidデータ格納エラー発生時final void出力Dataに値を設定する(CDATAの値を設定)クラスから継承されたメソッド 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インタフェースから継承されたメソッド jp.ne.mki.wedge.rule.common.xml.ReadXmlInterface
getXml, getXPath
-
フィールド詳細
-
root
-
-
コンストラクタの詳細
-
AbstractReadXmlFromData
public AbstractReadXmlFromData()
-
-
メソッドの詳細
-
exit
public void exit()インタフェースからコピーされた説明:CommonInterface- 定義:
exitインタフェース内CommonInterface- 定義:
exitインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
-
getAttributeName
値取得方法 Node以下のどの値を取得対象にするかを設定。 PCDATAの場合には空文字を返す。属性の場合には属性名を返す- 定義:
getAttributeNameインタフェース内ReadXmlInterface- パラメータ:
String- Dataの物理名称- 戻り値:
- String 属性名
- 例外:
Throwable
-
getIOParameter
public int getIOParameter()入出力引数を取得する Inにはxmlが格納されたITEMを一つ必ず設定する必要があります。- 定義:
getIOParameterインタフェース内CommonInterface- 定義:
getIOParameterインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- int 結果
-
execute
処理を実行します Inに指定されたXMLをパースし、結果をOutに格納します- 定義:
executeインタフェース内CommonInterface- 定義:
executeインタフェース内jp.ne.mki.wedge.run.interfaces.RuleEngineInterface- 戻り値:
- int 結果
- 例外:
Throwable
-
parseError
XMLパースエラー発生時- パラメータ:
Throwable- エラーオブジェクト
-
setDataError
データ格納エラー発生時- パラメータ:
Throwable- エラーオブジェクト
-
parse
ドキュメントルートを取得- パラメータ:
byte- [] XML- 戻り値:
- Document ドキュメントルート
- 例外:
Exception
-
setDatas
出力Dataに値を設定する(CDATAの値を設定)- 例外:
Throwable
-
setData
public static final void setData(NodeIterator nl, jp.ne.mki.wedge.run.interfaces.DataInterface data) 指定のNodeIteratorのCDATA値からdataに値を設定する- パラメータ:
NodeIterator- itemタグ以下のNodeIteratorItem-
-
setData
public static final void setData(NodeIterator nl, jp.ne.mki.wedge.run.interfaces.DataInterface data, String attributeName) 指定のNodeIteratorの属性値からitemに値を設定する- パラメータ:
NodeIterator- itemタグ以下のNodeIteratorItem-
-
getNodeList
対象となるNodeListを取得- パラメータ:
Document- ドキュメントルートString- 取得対象のXPath- 戻り値:
- NodeList 取得したノード
- 例外:
Throwable
-