All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.kith.xmlstds.impl.REFDocumentImpl Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
/*
 * An XML document type.
 * Localname: REF
 * Namespace: http://www.kith.no/xmlstds
 * Java type: no.kith.xmlstds.REFDocument
 *
 * Automatically generated - do not modify.
 */
package no.kith.xmlstds.impl;

import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;

/**
 * A document containing one REF(@http://www.kith.no/xmlstds) element.
 *
 * This is a complex type.
 */
public class REFDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.kith.xmlstds.REFDocument {
    private static final long serialVersionUID = 1L;

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

    private static final QName[] PROPERTY_QNAME = {
        new QName("http://www.kith.no/xmlstds", "REF"),
    };


    /**
     * Gets the "REF" element
     */
    @Override
    public no.kith.xmlstds.URL getREF() {
        synchronized (monitor()) {
            check_orphaned();
            no.kith.xmlstds.URL target = null;
            target = (no.kith.xmlstds.URL)get_store().find_element_user(PROPERTY_QNAME[0], 0);
            return (target == null) ? null : target;
        }
    }

    /**
     * Sets the "REF" element
     */
    @Override
    public void setREF(no.kith.xmlstds.URL ref) {
        generatedSetterHelperImpl(ref, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }

    /**
     * Appends and returns a new empty "REF" element
     */
    @Override
    public no.kith.xmlstds.URL addNewREF() {
        synchronized (monitor()) {
            check_orphaned();
            no.kith.xmlstds.URL target = null;
            target = (no.kith.xmlstds.URL)get_store().add_element_user(PROPERTY_QNAME[0]);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy