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

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

?? servicecustom.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.lang.reflect.Modifier;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;import java.util.Set;import org.jibx.binding.generator.CustomBase;import org.jibx.binding.generator.SharedNestingBase;import org.jibx.binding.model.DocumentFormatter;import org.jibx.binding.model.IClass;import org.jibx.binding.model.IClassItem;import org.jibx.binding.model.IClassLocator;import org.jibx.runtime.IUnmarshallingContext;import org.jibx.runtime.JiBXException;import org.jibx.runtime.impl.UnmarshallingContext;/** * Service customization information. This supports direct service * customizations (such as the corresponding request and/or response element * name) and also acts as a container for parameter and/or return * customizations. */public class ServiceCustom extends NestingBase{    // values specific to service level    private final String m_className;    private String m_serviceName;    private String m_portName;    private String m_bindingName;    private String m_portTypeName;    private String m_wsdlNamespace;    private String m_serviceAddress;    private List m_documentation;    private String[] m_includes;    private String[] m_excludes;        // list of contained operation customizations    private final ArrayList m_operations;        // values filled in by apply() method    private IClass m_classInformation;    private String m_namespace;        /**     * Constructor.     *      * @param parent     * @param clas     */    public ServiceCustom(SharedNestingBase parent, String clas) {        super(parent);        m_className = clas;        m_operations = new ArrayList();    }    /**     * Get service class name.     *     * @return class name     */    public String getClassName() {        return m_className;    }    /**     * Get the service name.     *     * @return service name     */    public String getServiceName() {        return m_serviceName;    }    /**     * Get the port name.     *     * @return port name     */    public String getPortName() {        return m_portName;    }    /**     * Get the binding name.     *     * @return binding name     */    public String getBindingName() {        return m_bindingName;    }    /**     * Get the portType name.     *     * @return portType name     */    public String getPortTypeName() {        return m_portTypeName;    }    /**     * Get the service address.     *     * @return service address     */    public String getServiceAddress() {        return m_serviceAddress;    }        /**     * Get service documentation node list.     *     * @return list of documentation nodes (<code>null</code> if none)     */    public List getDocumentation() {        return m_documentation;    }    /**     * Get list of method names to be excluded as operations.     *     * @return excludes (<code>null</code> if none)     */    public String[] getExcludes() {        return m_excludes;    }    /**     * Get list of method names to be included as operations.     *     * @return includes (<code>null</code> if none)     */    public String[] getIncludes() {        return m_includes;    }    /**     * Get list of children.     *     * @return list     */    public ArrayList getOperations() {        return m_operations;    }    /**     * Get the namespace for WSDL definitions of this service. This value is     * set by the {@link #apply(IClassLocator)} method.     *      * @return WSDL namespace     */    public String getWsdlNamespace() {        return m_wsdlNamespace;    }       /**     * Add child.     *     * @param child     */    protected void addChild(CustomBase child) {        if (child.getParent() == this) {            m_operations.add(child);        } else {            throw new IllegalStateException("Internal error: child not linked");        }    }        /**     * 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 ServiceCustom factory(IUnmarshallingContext ictx)        throws JiBXException {        UnmarshallingContext uctx = (UnmarshallingContext)ictx;        return new ServiceCustom(getContainingClass(ictx),            uctx.attributeText(null, "class"));    }        /**     * Apply customizations to service to fill out members.     *     * @param icl class locator     */    public void apply(IClassLocator icl) {                // find the service class information        m_classInformation = icl.getClassInfo(m_className);                // create documentation formatter        DocumentFormatter fmt = new DocumentFormatter();                // fill in any missing details        int split = m_className.lastIndexOf('.');        if (m_serviceName == null) {            String simple = m_className.substring(split+1);            String name = convertName(simple, UPPER_CAMEL_CASE_NAMES);            m_serviceName = registerName(name, this);        } else if (!m_serviceName.equals(registerName(m_serviceName, this))) {            throw new IllegalStateException("Service name conflict for '" + m_serviceName + '\'');        }        if (m_portName == null) {            m_portName = m_serviceName + "Port";        }        if (m_bindingName == null) {            m_bindingName = m_serviceName + "Binding";        }        if (m_portTypeName == null) {            m_portTypeName = m_serviceName + "PortType";        }        String uri = getSpecifiedNamespace();        if (uri == null) {            uri = deriveNamespace(getParent().getNamespace(),                m_className, getNamespaceStyle());        }        setNamespace(uri);        if (m_wsdlNamespace == null) {                        // no WSDL namespace set, check parent setting            String ns = ((NestingBase)getParent()).getWsdlNamespace();            if (ns == null) {                                // no setting, use class package and service name                                m_wsdlNamespace =                    packageToNamespace(packageOfType(m_className)) +                    '/' + m_serviceName;                            } else {                                // append service name to supplied setting                if (ns.endsWith("/")) {                    m_wsdlNamespace = ns + m_serviceName;                } else {                    m_wsdlNamespace = ns + '/' + m_serviceName;                }            }        }        if (m_serviceAddress == null) {            String base = getServiceBase();            if (base != null) {                StringBuffer buff = new StringBuffer(base);                if (!base.endsWith("/")) {                    buff.append('/');                }                buff.append(m_serviceName);                m_serviceAddress = buff.toString();            }        }        if (m_documentation == null) {            m_documentation = fmt.docToNodes(m_classInformation.getJavaDoc());        }                // register any predefined operation children        for (int i = 0; i < m_operations.size(); i++) {            OperationCustom op = (OperationCustom)m_operations.get(i);            String name = op.getOperationName();            if (name != null) {                if (registerName(name, op) != name) {                    throw new IllegalStateException("Duplicate operation name " + name);                }            }        }                // generate an operation for each exposed method in service class        Set inclset = nameSet(m_includes);        Set exclset = nameSet(m_excludes);        Map opmap = new HashMap();        for (int i = 0; i < m_operations.size(); i++) {            OperationCustom op = (OperationCustom)m_operations.get(i);            opmap.put(op.getMethodName().toLowerCase(), op);        }        IClassItem[] methods = m_classInformation.getMethods();        for (int i = 0; i < methods.length; i++) {            IClassItem method = methods[i];            String name = method.getName();            String lcname = name.toLowerCase();            int access = method.getAccessFlags();            OperationCustom op = (OperationCustom)opmap.get(lcname);            if (op == null) {                if (!Modifier.isStatic(access) &&                    !Modifier.isTransient(access) &&                    !"<init>".equals(name)) {                    boolean use = true;                    if (inclset != null) {                        use = inclset.contains(lcname);                    } else if (exclset != null) {                        use = !exclset.contains(lcname);                    }                    if (use) {                        op = new OperationCustom(this, name);                        m_operations.add(op);                    }                }            }            if (op != null) {                op.apply(method, icl, fmt);            }        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人手机在线| 在线电影院国产精品| 精品国产乱子伦一区| 99久久免费视频.com| 视频一区二区不卡| 亚洲精品中文字幕乱码三区| 欧美日韩国产精品成人| 成人黄色在线看| 久久er99精品| 久久国产三级精品| 亚洲成人在线网站| 国产精品久久久久久久久久久免费看 | 一本一本大道香蕉久在线精品| 日韩中文字幕1| 亚洲欧洲日韩在线| 国产欧美日韩综合| 精品日韩在线观看| 2020国产成人综合网| 欧美一区二区三区在线观看| 日韩午夜在线播放| 欧美亚洲综合网| 欧美亚洲自拍偷拍| 欧美日韩一区中文字幕| 欧美日韩精品综合在线| 欧美老年两性高潮| 92国产精品观看| 欧美性大战久久久久久久蜜臀| 99精品欧美一区二区三区综合在线| 97se亚洲国产综合自在线观| 暴力调教一区二区三区| 99精品1区2区| 欧美一区二区三区不卡| 久久综合成人精品亚洲另类欧美| www激情久久| 中文字幕一区二区视频| 亚洲自拍与偷拍| 久草这里只有精品视频| 国产精品自拍在线| 在线一区二区三区| 欧美r级在线观看| 亚洲女厕所小便bbb| 亚洲黄色av一区| 麻豆成人免费电影| 成人国产精品免费观看| 欧美精品久久99| 国产精品高清亚洲| 国产一区二区三区免费| 色噜噜狠狠成人网p站| 久久综合久久综合久久| 亚洲va在线va天堂| av激情综合网| 国产日韩欧美电影| 日韩**一区毛片| a级精品国产片在线观看| 精品久久久久久亚洲综合网| 亚洲一区在线观看免费观看电影高清 | 久久成人精品无人区| 一本大道久久a久久综合婷婷| 日韩片之四级片| 亚洲午夜精品久久久久久久久| 东方欧美亚洲色图在线| 精品福利一二区| 九九热在线视频观看这里只有精品| 91久久线看在观草草青青| 国产精品护士白丝一区av| 国产一区二区三区在线看麻豆| 91九色02白丝porn| 奇米综合一区二区三区精品视频| 不卡影院免费观看| 亚洲图片欧美激情| 91国产精品成人| 亚洲成人一区在线| 91麻豆精品久久久久蜜臀| 亚洲电影第三页| 日韩免费一区二区| 国产一区二区在线看| 亚洲国产高清在线观看视频| 国产suv精品一区二区三区| 国产精品三级视频| 色视频成人在线观看免| 午夜精品久久久久影视| 欧美剧在线免费观看网站| 成人在线视频一区| 91丨porny丨国产| 中文字幕在线一区免费| 色天使久久综合网天天| 亚洲电影在线免费观看| 日韩一区二区免费在线观看| 久久er99热精品一区二区| 中文字幕一区二区三区在线不卡| 91麻豆成人久久精品二区三区| 午夜在线电影亚洲一区| 中文字幕va一区二区三区| 色www精品视频在线观看| 奇米精品一区二区三区在线观看 | 99久久综合狠狠综合久久| 亚洲自拍欧美精品| 久久久美女艺术照精彩视频福利播放| 成人蜜臀av电影| 老司机免费视频一区二区| 国产精品白丝在线| 日韩欧美国产一区二区在线播放| 成人自拍视频在线| 男男视频亚洲欧美| 亚洲小少妇裸体bbw| 国产精品美女久久久久久| 欧美精品成人一区二区三区四区| 成人av电影观看| 高清在线成人网| 国产又黄又大久久| 婷婷丁香久久五月婷婷| 一区二区三区在线免费视频| 久久久久国产精品厨房| 日韩欧美久久一区| 在线播放国产精品二区一二区四区| heyzo一本久久综合| 国产一区二区在线观看视频| 老司机精品视频线观看86 | 日韩中文字幕91| 一区二区成人在线观看| 精品国产伦理网| 一区二区三区四区在线| 色香色香欲天天天影视综合网| 五月天欧美精品| 欧美日韩国产天堂| 日欧美一区二区| 久久精品欧美一区二区三区不卡| 欧美电影免费观看高清完整版在线| 国产目拍亚洲精品99久久精品| 亚洲精品中文在线影院| 国产原创一区二区| 91精品国产综合久久香蕉的特点 | 成人国产亚洲欧美成人综合网 | 欧美日韩日日骚| 日韩一区二区三区视频| 2023国产精品自拍| 亚洲欧美在线另类| 日欧美一区二区| av高清久久久| 欧美一级欧美三级在线观看| 久久久亚洲午夜电影| 亚洲精品第一国产综合野| 日韩精品91亚洲二区在线观看| 国产一区二区三区电影在线观看| 91亚洲男人天堂| 欧美va天堂va视频va在线| 亚洲视频你懂的| 国产一区二区三区四区五区美女| 99国产精品久久久久久久久久 | 成人av片在线观看| 久久午夜色播影院免费高清 | 欧美日韩国产经典色站一区二区三区| 国产亚洲精品7777| 久久精品噜噜噜成人av农村| 91福利小视频| 亚洲桃色在线一区| 粉嫩久久99精品久久久久久夜| 欧美另类变人与禽xxxxx| 一区二区三区在线视频观看58 | 国产mv日韩mv欧美| 亚洲精品在线观看视频| 日韩黄色免费电影| 欧美丰满一区二区免费视频 | 麻豆精品精品国产自在97香蕉| 欧美精品在线一区二区| 性做久久久久久久免费看| 欧美日韩成人一区| 久久99国内精品| 91精品国产乱码久久蜜臀| 亚洲成人免费在线| 91精品国产一区二区三区| 国产精品综合网| 亚洲精品中文字幕乱码三区| 欧美一区二区三区视频在线| 久久激情五月激情| 国产拍欧美日韩视频二区| av电影天堂一区二区在线观看| 中文字幕成人av| 555www色欧美视频| 国产精品一级片在线观看| 亚洲日本一区二区三区| 欧美一级黄色录像| 成人午夜视频在线观看| 亚洲综合免费观看高清完整版 | 成人性色生活片免费看爆迷你毛片| 亚洲视频网在线直播| 欧美一级一区二区| 在线视频亚洲一区| 国产一区二区三区最好精华液| 亚洲影视在线播放| 久久久精品黄色| 欧美精品欧美精品系列| 国产91丝袜在线播放0| 五月综合激情婷婷六月色窝| 中文字幕乱码亚洲精品一区| 7777精品伊人久久久大香线蕉经典版下载 | 91黄色激情网站| 成人精品电影在线观看| 久久精品999| 日日夜夜精品免费视频|