05致遠(yuǎn)oa培訓(xùn)2018v3.1dee ument結(jié)構(gòu)_第1頁
05致遠(yuǎn)oa培訓(xùn)2018v3.1dee ument結(jié)構(gòu)_第2頁
05致遠(yuǎn)oa培訓(xùn)2018v3.1dee ument結(jié)構(gòu)_第3頁
05致遠(yuǎn)oa培訓(xùn)2018v3.1dee ument結(jié)構(gòu)_第4頁
05致遠(yuǎn)oa培訓(xùn)2018v3.1dee ument結(jié)構(gòu)_第5頁
已閱讀5頁,還剩37頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、 在一個(gè)在一個(gè)dee任務(wù)執(zhí)行的整個(gè)生命周期里面,都伴隨的一個(gè)任務(wù)執(zhí)行的整個(gè)生命周期里面,都伴隨的一個(gè)Document,它保存著各個(gè)適配器的執(zhí)行結(jié)果和持有整個(gè)參數(shù)容器,它保存著各個(gè)適配器的執(zhí)行結(jié)果和持有整個(gè)參數(shù)容器,在腳本適配器里可以直接操作在腳本適配器里可以直接操作Document。 一一.Document 1.Document描述 2.Document方法列表 3.Document方法詳細(xì) Document使用root作為根節(jié)點(diǎn),document包含上下文TransformContext和子節(jié)點(diǎn)element和節(jié)點(diǎn)上的屬性Attribute,document內(nèi)容結(jié)構(gòu)參考下面視圖Documen

2、t內(nèi)置方法 方法名稱方法名稱方法簡(jiǎn)介方法簡(jiǎn)介Element getRootElement()獲取Document對(duì)象的根元素Element createElement(String name)通過指定名稱創(chuàng)建Element對(duì)象Element createElement(String name, String value)通過指定名稱創(chuàng)建Element并且設(shè)置Element的值TransformContext getContext()獲取當(dāng)前DEE任務(wù)的上下文 getRootElement方法 createElement方法createElement方法getContext方法 一一. Docu

3、ment.Element 1.Element描述 2.Element方法列表 3.Element方法詳細(xì)方法名稱方法名稱方法簡(jiǎn)介方法簡(jiǎn)介String getName()獲取當(dāng)前元素的名稱Object getValue()獲取當(dāng)前元素的值void setValue(Object value)設(shè)置當(dāng)前元素的值ListgetChildren()獲取當(dāng)前元素的所有直接子元素ListgetChildren(String name)根據(jù)指定名稱獲取元素的直接子元素ListgetAttributes()獲取當(dāng)前元素的所有屬性Attribute getAttribute(String name)根據(jù)指定名稱獲

4、取當(dāng)前元素的屬性Attribute setAttribute(String name, Object value)設(shè)置當(dāng)前元素的屬性Element getChild(String name)根據(jù)名稱獲取當(dāng)前元素的子元素Element addChild(String name)為當(dāng)前元素增加指定名稱的子元素Element addChild(Element element)為當(dāng)前元素增加子元素void removeChild(String name)根據(jù)指定元素名稱刪除當(dāng)前元素的子元素Element內(nèi)置方法getNamegetValuesetValuegetChildrengetChildreng

5、etAttributesgetAttributesetAttributegetChildaddChildaddChildremoveChild 一一. Document.Attribute 1.Attribute描述 2.Attribute方法列表 3.Atrribute方法詳細(xì)方法名稱方法名稱方法簡(jiǎn)介方法簡(jiǎn)介String getName()獲取Attribute對(duì)象的名稱Object getValue()獲取當(dāng)前Attribute對(duì)象的值void setValue(Object value)給當(dāng)前Attribute對(duì)象設(shè)置值getNamegetValuesetValue 一一. Transf

6、ormContext 1.TransformContext描述 2. TransformContext方法列表 3. TransformContext方法詳細(xì)方法名稱方法名稱方法簡(jiǎn)介方法簡(jiǎn)介void setAttribute(String name, Object object)向當(dāng)前DEE任務(wù)的轉(zhuǎn)換上下文中添加屬性O(shè)bject getAttribute(String name)根據(jù)名稱獲取當(dāng)前DEE任務(wù)轉(zhuǎn)換上下文中的屬性值Parameters getParameters()獲取當(dāng)前DEE任務(wù)的參數(shù)容器setAttributegetAttributegetParameters 一一. Parameters 1.Parameters描述 2. Parameters方法列表 3. Parameters方法詳細(xì)public Parameter

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論