public abstract class AbstractGetXmlFromItem extends AbstractCommon
InRecordに設定されたデータを xml の書式の形に変換し、 継承先クラスで InputStream/OutputStream の形で利用する事が出来ます。 このロジッククラスを使用するときは、XML のパースと XSLT を行うモジュールを クラスパスに含める必要があります。
| InputRecord | OutputRecord |
|---|---|
|
|
| Parameter | xml-encode=xml ファイルのエンコード(省略時は UTF-8); その他のパラメータも「キー=値」のセットをセミコロン(;)でつなげる事により 継承先のクラスで利用可能です。 |
|---|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected static java.lang.String |
DEFAULT_XML_ENCODE |
protected java.lang.String |
enc |
protected static java.lang.String |
PARAMETER_KEY_XML_ENCODE |
protected java.util.Hashtable<java.lang.String,java.lang.String> |
ruleParameters |
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| コンストラクタと説明 |
|---|
AbstractGetXmlFromItem() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
exit()
使用していたオブジェクトの開放を行います。
|
protected java.io.ByteArrayInputStream |
getInputStream()
作成された xml データへの ByteArrayInputStream を返します。
|
int |
getIOParameter()
出力項目に設定されているDataオブジェクトを取得します。
|
protected int |
loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inData,
int index)
loopInRecord()から呼び出されるメソッドです。
|
protected void |
writeToOutputStream(java.io.OutputStream os)
作成された xml データを OutputStream へ書き出します。
|
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, 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, waitexecuteprotected java.lang.String enc
protected static java.lang.String DEFAULT_XML_ENCODE
protected java.util.Hashtable<java.lang.String,java.lang.String> ruleParameters
protected static java.lang.String PARAMETER_KEY_XML_ENCODE
public void exit()
public int getIOParameter()
protected final java.io.ByteArrayInputStream getInputStream()
throws java.lang.Throwable
java.lang.Throwableprotected final void writeToOutputStream(java.io.OutputStream os)
throws java.lang.Throwable
OutputStream - 出力先java.lang.Throwableprotected int loopInRecordSub(jp.ne.mki.wedge.run.interfaces.DataInterface inData,
int index)
AbstractBaseloopInRecordSub クラス内 AbstractBase