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

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

?? valuecustom.java

?? 對xml很好的java處理引擎,編譯中綁定xml
?? JAVA
字號:
/*Copyright (c) 2007, Dennis M. SosnoskiAll rights reserved.Redistribution and use in source and binary forms, with or without modification,are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this   list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice,   this list of conditions and the following disclaimer in the documentation   and/or other materials provided with the distribution. * Neither the name of JiBX nor the names of its contributors may be used   to endorse or promote products derived from this software without specific   prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ANDANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AREDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FORANY 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 ONANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.*/package org.jibx.ws.wsdl;import java.util.Collection;import java.util.List;import org.jibx.binding.classes.ClassItem;import org.jibx.binding.generator.ClassCustom;import org.jibx.binding.generator.CustomBase;import org.jibx.runtime.IUnmarshallingContext;import org.jibx.runtime.JiBXException;import org.jibx.runtime.impl.UnmarshallingContext;/** * Method parameter or return value customization information. */public class ValueCustom extends CustomBase{    // value customization information    private boolean m_primitive;    // internal use, not included in binding    private String m_boundType; // internal use, not included in binding    private String m_valueName;    private String m_elementName;    private String m_type;    private String m_createType;    private String m_factoryMethod;    private Boolean m_required;    private List m_documentation;        /**     * Constructor.     *      * @param parent     * @param name     */    protected ValueCustom(NestingBase parent, String name) {        super(parent);        m_valueName = name;    }        /**     * Get value name.     *     * @return name     */    public String getValueName() {        return m_valueName;    }        /**     * Get XML element name.     *     * @return name     */    public String getElementName() {        return m_elementName;    }        /**     * Set XML element name.     *     * @param name     */    public void setElementName(String name) {        m_elementName = name;    }    /**     * Get value type. This method should only be used after the {@link     * #complete(String, List, Boolean)} method is called.     *     * @return value type     */    public String getType() {        return m_type;    }    /**     * Get item type for parameterized list collection. This base class     * implementation always returns <code>null</code>.     *     * @return <code>null</code>     */    public String getItemType() {        return null;    }        /**     * Get value type to be bound. This is the same as the plain value type     * for a simple (non-collection); for an array value, it's just the array     * item type; and for a non-array collection it takes the same form as a     * generic type declaration, with the actual item type enclosed in a     * less-than/greater-than sign pair following the base type.     *     * @return parmaterized type     */    public String getBoundType() {        return m_boundType;    }    /**     * Get name for elements representing items in collection. This base class     * implementation always returns <code>null</code>.     *     * @return <code>null</code>     */    public String getItemElementName() {        return null;    }    /**     * Get member create type.     *     * @return type used for creating new instance (<code>null</code> if none)     */    public String getCreateType() {        return m_createType;    }    /**     * Get factory method.     *     * @return method used for creating new instance (<code>null</code> if none)     */    public String getFactoryMethod() {        return m_factoryMethod;    }        /**     * Check if value is required.     *     * @return <code>true</code> if required, <code>false</code> if not     */    public boolean isRequired() {        if (m_required == null) {            if (m_primitive) {                return getParent().isPrimitiveRequired(m_type);            } else {                return getParent().isObjectRequired(m_type);            }        } else {            return m_required.booleanValue();        }    }        /**     * Get value documentation node list. This method should only be used after     * the {@link #complete(String, List, Boolean)} method is called.     *     * @return list of documentation nodes (<code>null</code> if none)     */    public List getDocumentation() {        return m_documentation;    }    /**     * Complete customization information based on supplied type. If the type     * information has not previously been set, this will set it. It will also     * derive the appropriate XML name, if not previously set.     *     * @param type (<code>null</code> if none available)     * @param docs default documentation text (<code>null</code> if none)     * @param req required member flag (<code>null</code> if unknown)     */    /*package*/ void complete(String type, List docs, Boolean req) {        if (m_type == null) {            if (type == null) {                m_type = "java.lang.Object";            } else {                m_type = type;            }        }        m_primitive = ClassItem.isPrimitive(m_type);        // TODO: check consistency of setting        if (m_required == null) {            m_required = req;        }        if (m_documentation == null) {            m_documentation = docs;        }        String itype = getItemType();        if (itype == null) {            if (type.endsWith("[]")) {                m_boundType = type.substring(0, type.length()-2);            } else {                m_boundType = type;            }        } else {            m_boundType = type + '<' + itype + '>';        }        if (!m_primitive && m_createType == null && m_factoryMethod == null) {            ClassCustom cust = getGlobal().getClassCustomization(type);            if (cust != null) {                m_createType = cust.getCreateType();                m_factoryMethod = cust.getFactoryMethod();            }        }    }        /**     * Parameter value unmarshalling factory. This gets the containing element     * and the name so that the standard constructor can be used.     *     * @param ictx     * @return created instance     * @throws JiBXException     */    private static ValueCustom parameterFactory(IUnmarshallingContext ictx)        throws JiBXException {        UnmarshallingContext uctx = (UnmarshallingContext)ictx;        Object parent = uctx.getStackTop();        int depth = 0;        if (parent instanceof Collection) {            parent = uctx.getStackObject(++depth);        }        return new ValueCustom((OperationCustom)parent,            uctx.attributeText(null, "name"));    }        /**     * Return value unmarshalling factory. This gets the containing element     * so that the standard constructor can be used.     *     * @param ictx     * @return created instance     */    private static ValueCustom returnFactory(IUnmarshallingContext ictx) {        Object parent = ictx.getStackTop();        int depth = 0;        if (parent instanceof Collection) {            parent = ictx.getStackObject(++depth);        }        return new ValueCustom((OperationCustom)parent, "return");    }        /**     * Parameter value unmarshalling factory. This gets the containing element     * and the name so that the standard constructor can be used.     *     * @param ictx     * @return created instance     * @throws JiBXException     */    private static CollectionValueCustom        collectionParameterFactory(IUnmarshallingContext ictx)        throws JiBXException {        UnmarshallingContext uctx = (UnmarshallingContext)ictx;        Object parent = uctx.getStackTop();        int depth = 0;        if (parent instanceof Collection) {            parent = uctx.getStackObject(++depth);        }        return new CollectionValueCustom((OperationCustom)parent,            uctx.attributeText(null, "name"));    }        /**     * Return value unmarshalling factory. This gets the containing element     * so that the standard constructor can be used.     *     * @param ictx     * @return created instance     */    private static CollectionValueCustom        collectionReturnFactory(IUnmarshallingContext ictx) {        Object parent = ictx.getStackTop();        int depth = 0;        if (parent instanceof Collection) {            parent = ictx.getStackObject(++depth);        }        return new CollectionValueCustom((OperationCustom)parent, "return");    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美三区免费完整视频在线观看| 久久女同互慰一区二区三区| 成人免费毛片aaaaa**| 秋霞午夜av一区二区三区| 亚洲精品欧美激情| 亚洲欧洲韩国日本视频| 国产人久久人人人人爽| 国产丝袜在线精品| 欧美国产精品久久| 国产精品视频一二三| 国产三级一区二区| 国产欧美日韩综合| 国产精品入口麻豆九色| 国产精品免费丝袜| 国产精品国产a级| 国产精品天美传媒| 国产精品福利在线播放| 国产精品久久久99| 亚洲激情图片qvod| 亚洲国产精品久久不卡毛片| 亚洲成人一区二区在线观看| 天天操天天综合网| 狠狠色狠狠色合久久伊人| 国产精品一区二区三区四区| 国产a久久麻豆| 97精品久久久久中文字幕| 91精品办公室少妇高潮对白| 久久精品男人的天堂| 国产精品看片你懂得| 亚洲丝袜美腿综合| 婷婷综合在线观看| 激情都市一区二区| 成人毛片老司机大片| 欧美午夜精品久久久久久孕妇 | 日韩欧美国产综合| 精品国产髙清在线看国产毛片| 精品国产电影一区二区| 国产视频一区二区在线| 专区另类欧美日韩| 日日夜夜免费精品| 国产a视频精品免费观看| 色女孩综合影院| 日韩欧美一区二区三区在线| 国产欧美日韩久久| 亚洲第四色夜色| 国产一区在线观看麻豆| 99久久亚洲一区二区三区青草| 欧洲精品一区二区三区在线观看| 91麻豆精品国产91久久久久| 久久久精品免费网站| 亚洲一级在线观看| 国产精品亚洲成人| 欧美性做爰猛烈叫床潮| 精品奇米国产一区二区三区| 亚洲男同1069视频| 久99久精品视频免费观看| 成人一区二区视频| 欧美日韩不卡视频| 国产精品丝袜在线| 免费一级片91| 91国产成人在线| 国产日韩在线不卡| 天堂成人国产精品一区| 成人免费看视频| 日韩欧美国产麻豆| 亚洲综合视频网| 国产成人精品亚洲午夜麻豆| 欧美日韩精品一二三区| 国产精品久久久久影院色老大| 日韩av电影一区| 色伊人久久综合中文字幕| 精品国产乱码久久久久久闺蜜| 亚洲综合精品自拍| 不卡的av电影| 精品国产乱码久久久久久夜甘婷婷 | 亚洲狠狠爱一区二区三区| 国产呦萝稀缺另类资源| 欧美肥妇毛茸茸| 亚洲天堂av一区| 福利电影一区二区三区| 日韩一级二级三级精品视频| 亚洲激情男女视频| 成人美女视频在线观看| 欧美精品一区二区久久婷婷| 亚洲成人激情自拍| 91国内精品野花午夜精品| 国产精品毛片久久久久久| 黄色精品一二区| 欧美大黄免费观看| 日韩制服丝袜av| 欧美日韩中字一区| 一区二区在线观看av| a级精品国产片在线观看| 久久综合九色综合欧美98| 蜜臀久久久99精品久久久久久| 欧美性受xxxx黑人xyx性爽| 综合激情网...| 成人动漫视频在线| 国产精品人成在线观看免费| 国产专区综合网| 亚洲一区二三区| 日本高清免费不卡视频| 亚洲欧美日韩国产综合在线| 97精品久久久午夜一区二区三区 | 精品一区二区三区久久久| 91精品国产欧美一区二区| 亚洲五月六月丁香激情| 91福利在线导航| 亚洲国产精品久久艾草纯爱| 欧美无乱码久久久免费午夜一区 | 色94色欧美sute亚洲线路一ni| 国产精品色婷婷| 99视频一区二区三区| 中文字幕一区二区三区精华液| caoporn国产一区二区| 综合亚洲深深色噜噜狠狠网站| 波多野结衣中文字幕一区二区三区| 日本一区二区免费在线观看视频| 成人黄色小视频| 亚洲人精品一区| 在线中文字幕一区二区| 午夜精品影院在线观看| 日韩亚洲欧美高清| 国产传媒久久文化传媒| 国产精品美女一区二区三区| 94-欧美-setu| 亚洲777理论| 日韩免费看的电影| 国产精品99久久久久久似苏梦涵| 中文字幕在线不卡| 欧美性一区二区| 激情综合网av| 国产精品久久久久久久浪潮网站| 91免费看`日韩一区二区| 亚洲一区二区三区四区不卡| 日韩午夜av电影| 国产不卡免费视频| 亚洲欧美日韩国产手机在线 | 亚洲国产综合人成综合网站| 91精品国产福利| 国产伦精品一区二区三区免费迷 | 亚洲电影一级黄| 日韩精品中文字幕一区| 高清日韩电视剧大全免费| 亚洲裸体在线观看| 欧美一级片在线| 高清日韩电视剧大全免费| 亚洲一线二线三线视频| 欧美成人一区二区| 99精品欧美一区二区三区综合在线| 亚洲综合无码一区二区| 欧美精品一区二区三区在线| 99久久婷婷国产综合精品| 水蜜桃久久夜色精品一区的特点| 久久久久久免费| 在线免费观看不卡av| 激情六月婷婷综合| 亚洲一区二区精品3399| 久久精品一二三| 欧洲一区二区三区在线| 国产精品一区二区果冻传媒| 亚洲国产毛片aaaaa无费看 | 日韩黄色小视频| 国产精品激情偷乱一区二区∴| 精品视频资源站| 日韩精品一区二区三区蜜臀 | 国产精品视频一二| 日韩一级片在线观看| 色菇凉天天综合网| 另类小说欧美激情| 亚洲精品ww久久久久久p站| 精品国产sm最大网站| 欧美日本精品一区二区三区| 成人精品小蝌蚪| 九九精品一区二区| 亚洲影院理伦片| 国产精品久久久久桃色tv| 日韩欧美一卡二卡| 欧美日韩一卡二卡| 不卡一区二区三区四区| 久久99精品久久久久久| 亚洲综合色视频| 国产精品美日韩| 日韩精品在线一区| 欧美另类videos死尸| 91麻豆国产精品久久| 国产福利一区二区| 九九精品一区二区| 日本成人在线视频网站| 亚洲成人精品一区二区| 亚洲天堂2014| 国产精品国产自产拍高清av| 精品国产亚洲在线| 777xxx欧美| 欧洲精品中文字幕| 色婷婷综合久久久中文字幕| 丁香激情综合国产| 国产美女一区二区三区| 国内精品自线一区二区三区视频| 人人爽香蕉精品|