<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
    主站蜘蛛池模板: 两个人看www免费视频| 亚洲AV无码久久精品狠狠爱浪潮| 一区二区三区亚洲| 久久爰www免费人成| 亚洲一区二区三区首页| 91av免费观看| 亚洲视频日韩视频| 精品免费久久久久久久| 亚洲1234区乱码| 一二三四影视在线看片免费| 亚洲中文无码亚洲人成影院| 成人超污免费网站在线看| 亚洲av无码专区在线电影天堂 | 亚洲人成欧美中文字幕| 午夜一级免费视频| 国产精品久久亚洲一区二区| 亚洲国产精品日韩| 三年片免费观看大全国语| 久久亚洲国产伦理| 国产日本一线在线观看免费| 亚洲Av永久无码精品一区二区| 免费国产a国产片高清| 精品久久久久久无码免费| 亚洲欧洲免费视频| 成年女人午夜毛片免费看| 黄色a三级三级三级免费看| 亚洲色欲一区二区三区在线观看| 99精品视频在线视频免费观看 | 亚洲女子高潮不断爆白浆| 亚洲精品动漫人成3d在线| 丁香花在线视频观看免费| 亚洲乱码日产精品BD在线观看| 免费涩涩在线视频网| 成人毛片100免费观看| 久久久久亚洲av无码专区 | 中文字幕亚洲第一| 在线看片韩国免费人成视频| 精品国产亚洲第一区二区三区| 亚洲人成人77777网站| 好男人看视频免费2019中文| 国产免费AV片在线观看播放|