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, userConstant
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
コンストラクタと説明 |
---|
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, terminate
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getXml, getXPath
public void exit()
CommonInterface
exit
インタフェース内 CommonInterface
exit
インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
public java.lang.String getAttributeName(java.lang.String dataPhysicalName, int dataPosition) throws java.lang.Throwable
getAttributeName
インタフェース内 ReadXmlInterface
String
- Dataの物理名称java.lang.Throwable
public int getIOParameter()
getIOParameter
インタフェース内 CommonInterface
getIOParameter
インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
public int execute() throws java.lang.Throwable
execute
インタフェース内 CommonInterface
execute
インタフェース内 jp.ne.mki.wedge.run.interfaces.RuleEngineInterface
java.lang.Throwable
public 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.Exception
public final void setDatas(org.w3c.dom.Document root) throws java.lang.Throwable
java.lang.Throwable
public 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