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

📄 offsetattributeimpl.java

📁 JAVA的Web Service应用
💻 JAVA
字号:
/*
 * An XML attribute type.
 * Localname: offset
 * Namespace: http://schemas.xmlsoap.org/soap/encoding/
 * Java type: org.xmlsoap.schemas.soap.encoding.OffsetAttribute
 *
 * Automatically generated - do not modify.
 */
package org.xmlsoap.schemas.soap.encoding.impl;

/**
 * A document containing one offset(@http://schemas.xmlsoap.org/soap/encoding/) attribute.
 *
 * This is a complex type.
 */
public class OffsetAttributeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl
    implements org.xmlsoap.schemas.soap.encoding.OffsetAttribute {
    private static final javax.xml.namespace.QName OFFSET$0 = new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/",
            "offset");

    public OffsetAttributeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }

    /**
     * Gets the "offset" attribute
     */
    public java.lang.String getOffset() {
        synchronized (monitor()) {
            check_orphaned();

            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue) get_store()
                                                           .find_attribute_user(OFFSET$0);

            if (target == null) {
                return null;
            }

            return target.getStringValue();
        }
    }

    /**
     * Gets (as xml) the "offset" attribute
     */
    public org.xmlsoap.schemas.soap.encoding.ArrayCoordinate xgetOffset() {
        synchronized (monitor()) {
            check_orphaned();

            org.xmlsoap.schemas.soap.encoding.ArrayCoordinate target = null;
            target = (org.xmlsoap.schemas.soap.encoding.ArrayCoordinate) get_store()
                                                                             .find_attribute_user(OFFSET$0);

            return target;
        }
    }

    /**
     * True if has "offset" attribute
     */
    public boolean isSetOffset() {
        synchronized (monitor()) {
            check_orphaned();

            return get_store().find_attribute_user(OFFSET$0) != null;
        }
    }

    /**
     * Sets the "offset" attribute
     */
    public void setOffset(java.lang.String offset) {
        synchronized (monitor()) {
            check_orphaned();

            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue) get_store()
                                                           .find_attribute_user(OFFSET$0);

            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue) get_store()
                                                               .add_attribute_user(OFFSET$0);
            }

            target.setStringValue(offset);
        }
    }

    /**
     * Sets (as xml) the "offset" attribute
     */
    public void xsetOffset(
        org.xmlsoap.schemas.soap.encoding.ArrayCoordinate offset) {
        synchronized (monitor()) {
            check_orphaned();

            org.xmlsoap.schemas.soap.encoding.ArrayCoordinate target = null;
            target = (org.xmlsoap.schemas.soap.encoding.ArrayCoordinate) get_store()
                                                                             .find_attribute_user(OFFSET$0);

            if (target == null) {
                target = (org.xmlsoap.schemas.soap.encoding.ArrayCoordinate) get_store()
                                                                                 .add_attribute_user(OFFSET$0);
            }

            target.set(offset);
        }
    }

    /**
     * Unsets the "offset" attribute
     */
    public void unsetOffset() {
        synchronized (monitor()) {
            check_orphaned();
            get_store().remove_attribute(OFFSET$0);
        }
    }
}

⌨️ 快捷键说明

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