⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 servicenametype.java

📁 Xfire文件 用于开发web service 的一个开源工具 很好用的
💻 JAVA
字号:
package org.xmlsoap.schemas.ws._2003._03.addressing;import java.util.HashMap;import java.util.Map;import javax.xml.bind.annotation.XmlAccessType;import javax.xml.bind.annotation.XmlAccessorType;import javax.xml.bind.annotation.XmlAnyAttribute;import javax.xml.bind.annotation.XmlAttribute;import javax.xml.bind.annotation.XmlType;import javax.xml.bind.annotation.XmlValue;import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;import javax.xml.namespace.QName;/** * <p>Java class for ServiceNameType complex type. *  * <p>The following schema fragment specifies the expected content contained within this class. *  * <pre> * &lt;complexType name="ServiceNameType"> *   &lt;simpleContent> *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>QName"> *       &lt;attribute name="PortName" type="{http://www.w3.org/2001/XMLSchema}NCName" /> *     &lt;/extension> *   &lt;/simpleContent> * &lt;/complexType> * </pre> *  *  */@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "ServiceNameType")public class ServiceNameType {    @XmlValue    protected QName value;    @XmlAttribute(name = "PortName")    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)    protected String portName;    @XmlAnyAttribute    private Map<QName, String> otherAttributes = new HashMap<QName, String>();    /**     * Gets the value of the value property.     *      * @return     *     possible object is     *     {@link QName }     *          */    public QName getValue() {        return value;    }    /**     * Sets the value of the value property.     *      * @param value     *     allowed object is     *     {@link QName }     *          */    public void setValue(QName value) {        this.value = value;    }    /**     * Gets the value of the portName property.     *      * @return     *     possible object is     *     {@link String }     *          */    public String getPortName() {        return portName;    }    /**     * Sets the value of the portName property.     *      * @param value     *     allowed object is     *     {@link String }     *          */    public void setPortName(String value) {        this.portName = value;    }    /**     * Gets a map that contains attributes that aren't bound to any typed property on this class.     *      * <p>     * the map is keyed by the name of the attribute and      * the value is the string value of the attribute.     *      * the map returned by this method is live, and you can add new attribute     * by updating the map directly. Because of this design, there's no setter.     *      *      * @return     *     always non-null     */    public Map<QName, String> getOtherAttributes() {        return otherAttributes;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -