<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使用


    包結構說明

    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實現轉接器。JAXPDOMAdapter是經常使用到的。
    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.過濾器
    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的類

    類和方法說明

    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作為根結點新建文檔。
    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作為根結點文件,并加入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作為根結點文件,并加入DocType的聲明,同時指定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構建新文件

    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) 評論(0)  編輯  收藏 所屬分類: Java
    主站蜘蛛池模板: 久久中文字幕免费视频| 成人自慰女黄网站免费大全| 久久精品免费一区二区| 亚洲AV无码一区二区乱孑伦AS| 亚洲精品视频免费观看| 国产亚洲美女精品久久久| 一级毛片无遮挡免费全部| AV在线亚洲男人的天堂| 中国一级全黄的免费观看| 久久精品国产亚洲综合色| 国产午夜无码精品免费看| 久久国产亚洲高清观看| 麻豆国产精品免费视频| 亚洲AV无码一区二区三区牛牛| 色www永久免费视频| 污视频网站在线免费看| 伊人久久精品亚洲午夜| 三年片在线观看免费| 亚洲美女视频网址| 在线免费观看视频你懂的| 无忧传媒视频免费观看入口| 永久亚洲成a人片777777| 无码国产精品一区二区免费模式 | 亚洲精品成人网久久久久久| 三级黄色免费观看| 亚洲精品免费在线| 在线免费观看中文字幕| 一级做a爰性色毛片免费| 亚洲视频在线观看一区| 午夜爱爱免费视频| 久久高潮一级毛片免费| 亚洲影院在线观看| 日本免费人成黄页网观看视频| 久久一区二区三区免费| 亚洲影视一区二区| yy6080亚洲一级理论| 99久久免费观看| 男男gvh肉在线观看免费| 亚洲avav天堂av在线不卡| 最近中文字幕免费mv视频8| 国产视频精品免费视频|