<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 4,comments - 30,trackbacks - 0
    JDOM API使用


    包結(jié)構(gòu)說(shuō)明

    org.jdomClasses to represent the components of an XML document.用于表示xml文件中組件的類,比如Attribute,CDATA,Comment,Document,Element,Namespace等等
    org.jdom.adaptersClasses to interface with various DOM implementations.DOM實(shí)現(xiàn)轉(zhuǎn)接器。JAXPDOMAdapter是經(jīng)常使用到的。
    org.jdom.filterClasses to programmatically filter nodes of a document based on type, name, value, or other aspects and to boolean and/or/negate these rules.過(guò)濾器
    org.jdom.inputClasses to build JDOM documents from various sources.用于將不同的源變成JDOM文件,比如DomBuilder,SAXBuilder
    org.jdom.outputClasses to output JDOM documents to various destinations.用于將JDOM文件變成其他的文件,比如DomOutputter,SAXOutputter
    org.jdom.transformClasses to help with transformations, based on the JAXP TrAX classes.基于JAXP TrAX類用于幫助transformation的類
    org.jdom.xpathSupport for XPath from within JDOM.支持XPath的類

    類和方法說(shuō)明

    1.org.jdom.Document

    Document()
    ??????????Creates a new empty document.新建空的文檔。
    Document(Element?rootElement)
    ??????????This will create a new Document, with the supplied Element as the root element, and no DocType declaration.使用Element作為根結(jié)點(diǎn)新建文檔。
    Document(Element?rootElement, DocType?docType)
    ??????????This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.使用Element作為根結(jié)點(diǎn)文件,并加入DocType的聲明。
    Document(Element?rootElement, DocType?docType, java.lang.String?baseURI)
    ??????????This will create a new Document, with the supplied Element as the root element, the supplied DocType declaration, and the specified base URI.使用Element作為根結(jié)點(diǎn)文件,并加入DocType的聲明,同時(shí)指定base URI。
    Document(java.util.List?content)
    ??????????This will create a new Document, with the supplied list of content, and a DocType declaration only if the content contains a DocType instance.使用content構(gòu)建新文件

    2.org.jdom.Element

    protected Element()
    ??????????This protected constructor is provided in order to support an Element subclass that wants full control over variable initialization.
    ?Element(java.lang.String?name)
    ??????????Create a new element with the supplied (local) name and no namespace.
    ?Element(java.lang.String?name, Namespace?namespace)
    ??????????Creates a new element with the supplied (local) name and namespace.
    ?Element(java.lang.String?name, java.lang.String?uri)
    ??????????Creates a new element with the supplied (local) name and a namespace given by a URI.
    ?Element(java.lang.String?name, java.lang.String?prefix, java.lang.String?uri)
    ??????????Creates a new element with the supplied (local) name and a namespace given by the supplied prefix and URI combination.
    posted on 2007-08-22 10:40 蠻哥♂楓 閱讀(2154) 評(píng)論(0)  編輯  收藏 所屬分類: Java
    主站蜘蛛池模板: 日韩免费人妻AV无码专区蜜桃 | 在线视频亚洲一区| 1000部拍拍拍18免费网站| 亚洲一区二区三区电影| A级毛片高清免费视频在线播放| 国产AV无码专区亚洲AWWW| 国产免费播放一区二区| 国产专区一va亚洲v天堂| 皇色在线免费视频| 亚洲AV无码一区二区三区系列 | 免费成人激情视频| 亚洲国产成人99精品激情在线| 国产精品色拉拉免费看| 亚洲综合偷自成人网第页色| 成人五级毛片免费播放| 看成年女人免费午夜视频| 一本色道久久88综合亚洲精品高清| 天堂亚洲免费视频| 亚洲精品国产精品乱码在线观看| 美女视频黄的免费视频网页| 亚洲欧洲久久精品| 免费看AV毛片一区二区三区| 日韩毛片在线免费观看| 国产亚洲婷婷香蕉久久精品| 91人人区免费区人人| 亚洲中文字幕乱码一区| 亚洲精品高清在线| 华人在线精品免费观看| 亚洲国产精品xo在线观看| 国产精品国产免费无码专区不卡 | 国产亚洲视频在线播放| 一级毛片在线免费观看| 亚洲私人无码综合久久网| 亚洲精品无码久久不卡| 午夜视频在线免费观看| 亚洲国产午夜精品理论片在线播放| 亚洲国产综合无码一区二区二三区| 久久国产免费一区二区三区| 亚洲熟妇AV一区二区三区浪潮| 国产亚洲大尺度无码无码专线| 久久精品国产免费观看|