public abstract class AbstractReadXmlFromData extends AbstractCommon implements ReadXmlInterface
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected org.w3c.dom.Document |
root |
controlRecord, engineManager, errorMessage, executeType, id, inputRecord, logicalName, logicClassDelegate, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstantCANCEL, 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| コンストラクタと説明 |
|---|
AbstractReadXmlFromData() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
execute()
処理を実行します
Inに指定されたXMLをパースし、結果をOutに格納します
|
void |
exit()
終了処理。
|
java.lang.String |
getAttributeName(java.lang.String dataPhysicalName,
int dataPosition)
値取得方法
Node以下のどの値を取得対象にするかを設定。
|
int |
getIOParameter()
入出力引数を取得する
Inにはxmlが格納されたITEMを一つ必ず設定する必要があります。
|
static org.w3c.dom.NodeList |
getNodeList(org.w3c.dom.Document root,
java.lang.String xPath)
対象となるNodeListを取得
|
static org.w3c.dom.Document |
parse(byte[] xml)
ドキュメントルートを取得
|
void |
parseError(java.lang.Throwable th)
XMLパースエラー発生時
|
static void |
setData(org.w3c.dom.traversal.NodeIterator nl,
jp.ne.mki.wedge.run.interfaces.DataInterface data)
指定のNodeIteratorのCDATA値からdataに値を設定する
|
static void |
setData(org.w3c.dom.traversal.NodeIterator nl,
jp.ne.mki.wedge.run.interfaces.DataInterface data,
java.lang.String attributeName)
指定のNodeIteratorの属性値からitemに値を設定する
|
void |
setDataError(java.lang.Throwable th)
データ格納エラー発生時
|
void |
setDatas(org.w3c.dom.Document root)
出力Dataに値を設定する(CDATAの値を設定)
|
getLogicClassType, getManager, terminatecallDispose, 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, writeTraceLogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetXml, getXPathpublic void exit()
CommonInterfaceexit インタフェース内 CommonInterfaceexit インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic java.lang.String getAttributeName(java.lang.String dataPhysicalName,
int dataPosition)
throws java.lang.Throwable
getAttributeName インタフェース内 ReadXmlInterfaceString - Dataの物理名称java.lang.Throwablepublic int getIOParameter()
getIOParameter インタフェース内 CommonInterfacegetIOParameter インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacepublic int execute()
throws java.lang.Throwable
execute インタフェース内 CommonInterfaceexecute インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterfacejava.lang.Throwablepublic void parseError(java.lang.Throwable th)
Throwable - エラーオブジェクトpublic void setDataError(java.lang.Throwable th)
Throwable - エラーオブジェクトpublic static org.w3c.dom.Document parse(byte[] xml)
throws java.lang.Exception
byte[] - XMLjava.lang.Exceptionpublic final void setDatas(org.w3c.dom.Document root)
throws java.lang.Throwable
java.lang.Throwablepublic static final void setData(org.w3c.dom.traversal.NodeIterator nl,
jp.ne.mki.wedge.run.interfaces.DataInterface data)
NodeIterator - itemタグ以下のNodeIteratorItem - public static final void setData(org.w3c.dom.traversal.NodeIterator nl,
jp.ne.mki.wedge.run.interfaces.DataInterface data,
java.lang.String attributeName)
NodeIterator - itemタグ以下のNodeIteratorItem - public static org.w3c.dom.NodeList getNodeList(org.w3c.dom.Document root,
java.lang.String xPath)
throws java.lang.Throwable
Document - ドキュメントルートString - 取得対象のXPathjava.lang.Throwable