資源描述:
《基于xml的刻面樹構(gòu)件描述語言xftcdl》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、旗rXML的刻面樹構(gòu)f’J_描述沿壽xFFCDLyt67a●8基于XML的刻面樹構(gòu)件描述語言xFTCDL【摘要】本文從軟件復(fù)用思想出發(fā),通過對(duì)構(gòu)件庫管理的分析,指出了恰當(dāng)?shù)臉?gòu)件描述方法對(duì)于構(gòu)件檢索的重要性。通過對(duì)各種基于刻面的構(gòu)件描述語高的研究以及對(duì)XML技術(shù)的探討,結(jié)合刻面樹分類方法,提出了一種新的基于xML的刻麗樹構(gòu)件描述語言——xFTCDL。xFTCDL使用了刻面樹構(gòu)件描述方法。即用一個(gè)樹形結(jié)構(gòu)來描述構(gòu)件的本質(zhì)特征。通過對(duì)輿型的刻面描述模型的比較綜合,確定了xFTCDL的刻面分類方案。xFTCDL包括^
2、個(gè)一級(jí)刻面:依賴、適用性、質(zhì)量、構(gòu)件形態(tài)和構(gòu)件功能。這些一級(jí)刻面又分別包括一些子刻面,更詳盡的描述了構(gòu)件的特征。同時(shí),文中也指出了這些刻面的術(shù)語空問。xFTCDL是~種領(lǐng)域無關(guān)的構(gòu)件描述語占,為了增強(qiáng)它描述構(gòu)件功能的能力.我們分析了以{£的構(gòu)件描述語言中描述構(gòu)件功能的方法。然后從簡(jiǎn)單的f{然語言命令句}1{發(fā),確定了它的“構(gòu)件功能”刻面的子刻面。并從實(shí)際應(yīng)』}j角度考慮,指¨{構(gòu)件功能應(yīng)該山若干功能項(xiàng)組成,每一個(gè)功能項(xiàng)由子刻面柬描述。川叫為J’山他構(gòu)¨拋"I肖提供這些】二刻
3、flJ的值,指iUJ’一些確l扛的
4、¨發(fā)』L胤!J』
5、J。最后,dJ』二刻Jfii時(shí)方案描述的構(gòu)fq-數(shù)掘非常適合于川XML語言+來描述,我們給?了xFTCDL的XMLSchema。同時(shí)利用Java語言丌發(fā)了一個(gè)使用xFTCDL的構(gòu)什怍系統(tǒng),以便更好n々改進(jìn)我們的理論方案?!娟P(guān)鍵字】構(gòu)什描述t螽,軟f『
6、:新I:,軟什復(fù)試刻砷J刻面樹,予刻嚦,構(gòu)件功能\/7\,/\/基丁.XML的刻面樹構(gòu)1,
7、=描述語言xFTCDLXML—basedfacettreecomponentdescriptionlanguagexFTCDL[Abstract]Int
8、hispaper,wefirstintroducethemainideaofsoftwarereuseandthenpointouttheimportanceofcomponentdescriptionlanguagetosoftwareretrievalbyanalysisofcomponentlibrarymanagement.ThenwepresentanewXML-basedfacettreecomponentdescriptionlangIlage一一xFl℃DLbyresearchofallkin
9、dsofcomponentdescriptionlanguageandXML.InxFTCDL,weusefacettreeasthecomponentdescriptionmodel.Thatistosay,weuseatreetodescribethefeatureofacomponent.Byanalyzingtypicalfacetdescriptionmodel,wegivefivefirstlevelfacets:dependence,suitability,quality,componentfo
10、rmandcomponentfunction.Thesefacetsincludesomesubfacetswhichdescribemoreparticularinformationofacomponent.Also,wegivetermspaceofthesefacets.xFTCDL'asadomainindependentcomponentdescriptionlanguage,musthavedomainindependentfunctiondescriptionmethod.Inordertoto
11、neuptheabilityofdescribingfunctionofacomponent,wegivethesubfacetsoffunctionfacetbyanalyzingsimpleimperativesentence.Atthesametime,consideringthedifficultyofassigningthefacetvalue,wegivesomesimpleconstraintsandsomeheuristics.AXMLschematobeusedinthexFTCDLbeca
12、usethefacettreestructureiSfitforXML.ThenwedevelopanapplicationbyJavatoevaluatexFTCDL.【Keywords]componentdescriptionlanguage·softwarecomponent,facet,facettree,softwarereuse,subfacet,componentfunction.2.