jp.ne.mki.wedge.rule.compat10.common.xml
クラス V10xXslt

java.lang.Object
  |
  +--jp.ne.mki.wedge.rule.AbstractBusinessRule
        |
        +--jp.ne.mki.wedge.rule.compat10.common.xml.V10xAbstractGetXmlFromItem
              |
              +--jp.ne.mki.wedge.rule.compat10.common.xml.V10xAbstractXsltFromItem
                    |
                    +--jp.ne.mki.wedge.rule.compat10.common.xml.V10xXslt
すべての実装インタフェース:
BusinessRuleInterface, RuleEngineInterface

public class V10xXslt
extends V10xAbstractXsltFromItem

xslt


データを xml の形へ変換したソースを、指定された xsl で変換。


InRecordに設定されたデータを xml の書式の形にしたソースを パラメータ xsl-filename で指定された xsl ファイルで変換し、 パラメータ resul-filename で指定されたファイルへ出力します このルールを使用するときは、XML のパースと XSLT を行うモジュールを クラスパスに含める必要があります。


[I/O RECORD]

InputRecord OutputRecord
  1. データ(複数選択)

[RULE PARAMETER]

Parameter xsl-filename=xsl ファイル名; result-filename=xslt 結果を出力するファイル名 指定方法:「キー=値」 複数指定時のパラメータ間は「;」で区切る。

バージョン:
1.0
作成者:
mki

クラス jp.ne.mki.wedge.rule.compat10.common.xml.V10xAbstractXsltFromItem から継承したフィールド
xslFilename
 
クラス jp.ne.mki.wedge.rule.compat10.common.xml.V10xAbstractGetXmlFromItem から継承したフィールド
DEFAULT_XML_ENCODE, enc, PARAMETER_KEY_XML_ENCODE, ruleParameters
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したフィールド
className, errorMessage, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, TIMING_AFTER, TIMING_BEFORE, TIMING_LOAD, TIMING_ROW_CLICK, TIMING_ROW_WCLICK, TIMING_UN_LOAD
 
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface から継承したフィールド
CANCEL, ERROR, OK, SKIP, USER_ERROR
 
コンストラクタの概要
V10xXslt()
           
 
メソッドの概要
 int execute()
          処理を実行。
 void exit()
          使用していたオブジェクトの開放を行います。
 int getIOParameter()
          出力項目に設定されているDataオブジェクトを取得します。
 
クラス jp.ne.mki.wedge.rule.compat10.common.xml.V10xAbstractXsltFromItem から継承したメソッド
getResultInputStream
 
クラス jp.ne.mki.wedge.rule.compat10.common.xml.V10xAbstractGetXmlFromItem から継承したメソッド
getInputStream, loopInRecordSub, writeToOutputStream
 
クラス jp.ne.mki.wedge.rule.AbstractBusinessRule から継承したメソッド
createErrorMessage, executeRule, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getClientRuleObject, getCodeBase, getComponent, getComponent, getConfig, getConfImagePath, getConnectionId, getConnectionPoolId, getConstantValue, getContentPane, getCurrentComponent, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getExceptionMessage, getExecuteIndex, getExecuteParameter, getExecuteTiming, getExecuteType, getExecutions, getExpectNextComponent, getFrame, getHtmlExecution, getHtmlManagerObject, getId, getImageIcon, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getManager, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRuleParameter, getRuleType, getRuleTypeName, getServerControlData, getServerData, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getStepParameter, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isApplet, isApplication, isClientTraceMode, isConpiled, isExecutable, isJWS, isServerTraceMode, isWeb, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopOutRecord, loopOutRecordSub, setControlRecord, setControlRecord, setControlRecordVector, setExecuteParameter, setExecuteType, setFocus, setFocus, setFocus, setHtmlExecution, setHtmlManager, setId, setInRecord, setLogicalName, setManager, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerControlData, setServerData, setServerParameter, setStatusBarText, setUserConstant, setWedgeLog, showDocument, showErrorDialog, showErrorDialogAddRuleName, showFrame, showFrame, terminate, writeLog, writeLog, writeTraceLog
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

V10xXslt

public V10xXslt()
メソッドの詳細

exit

public void exit()
クラス V10xAbstractXsltFromItem の記述:
使用していたオブジェクトの開放を行います。 継承先で Override する場合は必ず最後に「super.exit()」を実行してください。
オーバーライド:
クラス V10xAbstractXsltFromItem 内の exit

getIOParameter

public int getIOParameter()
クラス V10xAbstractXsltFromItem の記述:
出力項目に設定されているDataオブジェクトを取得します。 継承先で Override する場合は必ず public int getIOParameter() { if ( super.getIOParameter() == OK ) { // 実行したい処理 } else { return ERROR; } return OK; } の記述方法を使用してください。
オーバーライド:
クラス V10xAbstractXsltFromItem 内の getIOParameter
クラス jp.ne.mki.wedge.rule.compat10.common.xml.V10xAbstractXsltFromItem からコピーされたタグ:
戻り値:
int 結果

execute

public int execute()
            throws java.lang.Throwable
インタフェース BusinessRuleInterface の記述:
処理を実行。
インタフェース jp.ne.mki.wedge.run.interfaces.BusinessRuleInterface からコピーされたタグ:
戻り値:
int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)、SKIP=次行を実行しない、USER_ERROR=戻り値をユーザ側で任意に設定