亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? text.java

?? openlogic-jdom-1.1-all-src-1.zip 可以用于操作xml文件
?? JAVA
字號:
/*-- $Id: Text.java,v 1.25 2007/11/10 05:28:59 jhunter Exp $ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright    notice, this list of conditions, and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright    notice, this list of conditions, and the disclaimer that follows    these conditions in the documentation and/or other materials    provided with the distribution. 3. The name "JDOM" must not be used to endorse or promote products    derived from this software without prior written permission.  For    written permission, please contact <request_AT_jdom_DOT_org>. 4. Products derived from this software may not be called "JDOM", nor    may "JDOM" appear in their name, without prior written permission    from the JDOM Project Management <request_AT_jdom_DOT_org>. In addition, we request (but do not require) that you include in the end-user documentation provided with the redistribution and/or in the software itself an acknowledgement equivalent to the following:     "This product includes software developed by the      JDOM Project (http://www.jdom.org/)." Alternatively, the acknowledgment may be graphical using the logos available at http://www.jdom.org/images/logos. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software consists of voluntary contributions made by many individuals on behalf of the JDOM Project and was originally created by Jason Hunter <jhunter_AT_jdom_DOT_org> and Brett McLaughlin <brett_AT_jdom_DOT_org>.  For more information on the JDOM Project, please see <http://www.jdom.org/>. */package org.jdom;/** * Character-based XML content. Provides a modular, parentable method of * representing text. Text makes no guarantees about the underlying textual * representation of character data, but does expose that data as a Java String. * * @version $Revision: 1.25 $, $Date: 2007/11/10 05:28:59 $ * @author  Brett McLaughlin * @author  Jason Hunter * @author  Bradley S. Huffman */public class Text extends Content {    private static final String CVS_ID =      "@(#) $RCSfile: Text.java,v $ $Revision: 1.25 $ $Date: 2007/11/10 05:28:59 $ $Name: jdom_1_1 $";    static final String EMPTY_STRING = "";    /** The actual character content */    // XXX See http://www.servlets.com/archive/servlet/ReadMsg?msgId=8612    // from elharo for a description of why Java characters may not suffice    // long term    protected String value;    /**     * This is the protected, no-args constructor standard in all JDOM     * classes. It allows subclassers to get a raw instance with no     * initialization.     */    protected Text() { }    /**     * This constructor creates a new <code>Text</code> node, with the     * supplied string value as it's character content.     *     * @param str the node's character content.     * @throws IllegalDataException if <code>str</code> contains an     *         illegal character such as a vertical tab (as determined     *         by {@link org.jdom.Verifier#checkCharacterData})     */    public Text(String str) {        setText(str);    }    /**     * This returns the value of this <code>Text</code> node as a Java     * <code>String</code>.     *     * @return <code>String</code> - character content of this node.     */    public String getText() {        return value;    }    /**     * This returns the textual content with all surrounding whitespace     * removed.  If only whitespace exists, the empty string is returned.     *     * @return trimmed text content or empty string     */    public String getTextTrim() {        return getText().trim();    }    /**     * This returns the textual content with all surrounding whitespace     * removed and internal whitespace normalized to a single space.  If     * only whitespace exists, the empty string is returned.     *     * @return normalized text content or empty string     */    public String getTextNormalize() {        return normalizeString(getText());    }    /**     * This returns a new string with all surrounding whitespace     * removed and internal whitespace normalized to a single space.  If     * only whitespace exists, the empty string is returned.     * <p>     * Per XML 1.0 Production 3 whitespace includes: #x20, #x9, #xD, #xA     * </p>     *     * @param str string to be normalized.     * @return normalized string or empty string     */    public static String normalizeString(String str) {        if (str == null)            return EMPTY_STRING;        char[] c = str.toCharArray();        char[] n = new char[c.length];        boolean white = true;        int pos = 0;        for (int i = 0; i < c.length; i++) {            if (" \t\n\r".indexOf(c[i]) != -1) {                if (!white) {                    n[pos++] = ' ';                    white = true;                }            }            else {                n[pos++] = c[i];                white = false;            }        }        if (white && pos > 0) {            pos--;        }        return new String(n, 0, pos);    }    /**     * This will set the value of this <code>Text</code> node.     *     * @param str value for node's content.     * @return the object on which the method was invoked     * @throws IllegalDataException if <code>str</code> contains an     *         illegal character such as a vertical tab (as determined     *         by {@link org.jdom.Verifier#checkCharacterData})     */    public Text setText(String str) {        String reason;        if (str == null) {            value = EMPTY_STRING;            return this;        }        if ((reason = Verifier.checkCharacterData(str)) != null) {            throw new IllegalDataException(str, "character content", reason);        }        value = str;        return this;    }    /**     * This will append character content to whatever content already     * exists within this <code>Text</code> node.     *     * @param str character content to append.     * @throws IllegalDataException if <code>str</code> contains an     *         illegal character such as a vertical tab (as determined     *         by {@link org.jdom.Verifier#checkCharacterData})     */    public void append(String str) {        String reason;        if (str == null) {            return;        }        if ((reason = Verifier.checkCharacterData(str)) != null) {            throw new IllegalDataException(str, "character content", reason);        }        if (str == EMPTY_STRING)             value = str;        else value += str;    }    /**     * This will append the content of another <code>Text</code> node     * to this node.     *     * @param text Text node to append.     */    public void append(Text text) {        if (text == null) {            return;        }        value += text.getText();    }    /**     * Returns the XPath 1.0 string value of this element, which is the     * text itself.     *     * @return the text     */    public String getValue() {        return value;    }    /**     * This returns a <code>String</code> representation of the     * <code>Text</code> node, suitable for debugging. If the XML     * representation of the <code>Text</code> node is desired,     * either <code>{@link #getText}</code> or     * {@link org.jdom.output.XMLOutputter#outputString(Text)}</code>     * should be used.     *     * @return <code>String</code> - information about this node.     */    public String toString() {        return new StringBuffer(64)            .append("[Text: ")            .append(getText())            .append("]")            .toString();    }    /**     * This will return a clone of this <code>Text</code> node, with the     * same character content, but no parent.     *     * @return <code>Text</code> - cloned node.     */    public Object clone() {        Text text = (Text)super.clone();        text.value = value;        return text;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本不卡123| 91农村精品一区二区在线| 亚洲欧美电影院| 精品第一国产综合精品aⅴ| 在线观看一区不卡| 国产乱妇无码大片在线观看| 亚洲福利视频一区二区| 综合网在线视频| 久久久91精品国产一区二区三区| 7777精品伊人久久久大香线蕉超级流畅 | 亚洲制服丝袜av| 国产亚洲欧美一级| 日韩欧美一区在线观看| 欧美日韩美女一区二区| 91精品办公室少妇高潮对白| 成人一区二区三区视频| 激情综合亚洲精品| 欧美日韩免费视频| 成人免费毛片片v| 韩国av一区二区三区| 视频一区二区国产| 亚洲va中文字幕| 亚洲最大色网站| 亚洲你懂的在线视频| 黄一区二区三区| 久久国产精品一区二区| 日韩二区三区在线观看| 午夜私人影院久久久久| 亚洲综合免费观看高清完整版在线 | 国产精品色婷婷久久58| 日本一区二区三区在线观看| 精品99一区二区三区| 精品噜噜噜噜久久久久久久久试看| 8v天堂国产在线一区二区| 91国偷自产一区二区三区观看| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 日韩一区二区在线观看视频| 在线电影一区二区三区| 正在播放一区二区| 日韩欧美www| 精品久久久久久久久久久院品网| 欧美第一区第二区| 精品理论电影在线| 久久久欧美精品sm网站| 欧美激情资源网| 成人免费在线播放视频| 亚洲美女淫视频| 亚洲国产sm捆绑调教视频| 日精品一区二区| 狠狠网亚洲精品| 国产成人在线观看免费网站| 成人高清视频在线| 日本国产一区二区| 制服丝袜中文字幕亚洲| xnxx国产精品| 国产精品九色蝌蚪自拍| 一区二区三区中文字幕精品精品| 亚洲中国最大av网站| 美女在线一区二区| 欧美日韩国产大片| 婷婷成人综合网| 美国欧美日韩国产在线播放| 国产一区二区91| www.性欧美| 欧美三级中文字| 精品少妇一区二区三区在线播放| 久久久久久99精品| 亚洲女同一区二区| 免费观看成人av| 成人av网站在线观看免费| 欧美日韩一区二区三区在线| 26uuu精品一区二区| 亚洲欧洲在线观看av| 天堂蜜桃91精品| 国产不卡一区视频| 欧美日韩一区二区三区免费看| 欧美精品一区二区高清在线观看| 国产精品麻豆视频| 日韩精品成人一区二区在线| 国产成人av资源| 欧美视频中文一区二区三区在线观看| 欧美r级在线观看| 亚洲午夜免费视频| 国产精品一区二区在线播放| 欧美日韩一卡二卡三卡| 中文字幕第一区第二区| 国产精品一区二区免费不卡| a级高清视频欧美日韩| 欧美美女激情18p| 国产欧美视频一区二区| 午夜激情久久久| proumb性欧美在线观看| 91精品国产色综合久久不卡电影 | 欧美美女一区二区在线观看| 日本一二三四高清不卡| 日韩精品一二三四| 一本到不卡免费一区二区| 五月天中文字幕一区二区| 成人av片在线观看| www久久精品| 日本人妖一区二区| 一本色道久久综合狠狠躁的推荐| 亚洲精品在线观| 无吗不卡中文字幕| 日本伦理一区二区| 国产精品日产欧美久久久久| 极品美女销魂一区二区三区| 欧美日韩三级一区二区| 亚洲欧洲在线观看av| 国产成人免费在线视频| 欧美电影免费观看高清完整版在线| 亚洲视频资源在线| 成人午夜在线免费| 国产午夜精品福利| 韩国欧美一区二区| 欧美一区二区三区四区高清| 一区二区高清在线| 在线看日韩精品电影| 亚洲乱码国产乱码精品精98午夜| 成人免费看黄yyy456| 久久亚区不卡日本| 国内久久精品视频| 欧美成人福利视频| 麻豆传媒一区二区三区| 欧美一区二区三区啪啪| 午夜电影久久久| 欧美精品v日韩精品v韩国精品v| 亚洲综合在线免费观看| 国产精品短视频| 99免费精品在线观看| 国产精品久久久久9999吃药| 国产成人精品免费网站| 中文字幕欧美国产| av不卡在线播放| 亚洲美女视频一区| 一本到高清视频免费精品| 亚洲女同女同女同女同女同69| 91视频你懂的| 一区二区免费在线播放| 欧美日韩1234| 免费观看91视频大全| 精品少妇一区二区三区视频免付费 | 亚洲欧洲99久久| 色综合久久66| 亚洲午夜成aⅴ人片| 4438成人网| 精品在线一区二区三区| 国产婷婷色一区二区三区四区| 成人自拍视频在线| 伊人开心综合网| 欧美日韩高清一区二区不卡| 青青草国产精品97视觉盛宴| 国内精品写真在线观看 | 日韩中文字幕区一区有砖一区| 欧美三级韩国三级日本一级| 三级影片在线观看欧美日韩一区二区| 制服视频三区第一页精品| 国模一区二区三区白浆| 国产精品大尺度| 在线不卡中文字幕播放| 国产综合色在线| 亚洲欧美日韩国产另类专区 | 7777精品久久久大香线蕉| 蜜桃av噜噜一区| 欧美国产欧美综合| 欧美在线一二三四区| 久久疯狂做爰流白浆xx| 日韩伦理免费电影| 91麻豆免费观看| 午夜伊人狠狠久久| 久久久99久久精品欧美| 在线日韩一区二区| 捆绑紧缚一区二区三区视频| 综合久久一区二区三区| 欧美一区二区三区婷婷月色| www.综合网.com| 男人的天堂久久精品| 亚洲欧洲性图库| 欧美白人最猛性xxxxx69交| 一本一道波多野结衣一区二区| 久久成人av少妇免费| 亚洲欧美日韩国产综合在线| 精品奇米国产一区二区三区| 99精品欧美一区二区三区小说 | 26uuu亚洲综合色| 91成人看片片| 国产凹凸在线观看一区二区| 一本大道久久a久久精品综合| 蜜臀av亚洲一区中文字幕| 中文字幕在线视频一区| 日韩欧美一级特黄在线播放| 日本国产一区二区| 懂色av一区二区三区免费观看 | 性做久久久久久久免费看| 国产精品日日摸夜夜摸av| 日韩欧美在线1卡| 欧美美女视频在线观看| 91美女在线观看| 成人综合婷婷国产精品久久蜜臀| 麻豆精品在线播放|