导航菜单

页面标题

页面副标题

Releam v2.13.2 - CRLRefsTypeImpl.java 源代码

正在查看: Releam v2.13.2 应用的 CRLRefsTypeImpl.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package org.etsi.uri.x01903.v13.impl;

import java.util.ArrayList;
import java.util.List;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.SchemaType;
import org.apache.xmlbeans.impl.values.XmlComplexContentImpl;
import org.etsi.uri.x01903.v13.CRLRefType;
import org.etsi.uri.x01903.v13.CRLRefsType;

public class CRLRefsTypeImpl extends XmlComplexContentImpl implements CRLRefsType {
    private static final QName CRLREF$0 = new QName("http://uri.etsi.org/01903/v1.3.2#", "CRLRef");

    public CRLRefsTypeImpl(SchemaType schemaType) {
        super(schemaType);
    }

    @Override
    public CRLRefType addNewCRLRef() {
        CRLRefType cRLRefType;
        synchronized (monitor()) {
            check_orphaned();
            cRLRefType = (CRLRefType) get_store().add_element_user(CRLREF$0);
        }
        return cRLRefType;
    }

    @Override
    public CRLRefType getCRLRefArray(int i) {
        CRLRefType cRLRefType;
        synchronized (monitor()) {
            check_orphaned();
            cRLRefType = (CRLRefType) get_store().find_element_user(CRLREF$0, i);
            if (cRLRefType == null) {
                throw new IndexOutOfBoundsException();
            }
        }
        return cRLRefType;
    }

    @Override
    public List<CRLRefType> getCRLRefList() {
        1CRLRefList r1;
        synchronized (monitor()) {
            check_orphaned();
            r1 = new 1CRLRefList(this);
        }
        return r1;
    }

    @Override
    public CRLRefType insertNewCRLRef(int i) {
        CRLRefType cRLRefType;
        synchronized (monitor()) {
            check_orphaned();
            cRLRefType = (CRLRefType) get_store().insert_element_user(CRLREF$0, i);
        }
        return cRLRefType;
    }

    @Override
    public void removeCRLRef(int i) {
        synchronized (monitor()) {
            check_orphaned();
            get_store().remove_element(CRLREF$0, i);
        }
    }

    @Override
    public void setCRLRefArray(int i, CRLRefType cRLRefType) {
        synchronized (monitor()) {
            check_orphaned();
            CRLRefType cRLRefType2 = (CRLRefType) get_store().find_element_user(CRLREF$0, i);
            if (cRLRefType2 == null) {
                throw new IndexOutOfBoundsException();
            }
            cRLRefType2.set(cRLRefType);
        }
    }

    @Override
    public int sizeOfCRLRefArray() {
        int count_elements;
        synchronized (monitor()) {
            check_orphaned();
            count_elements = get_store().count_elements(CRLREF$0);
        }
        return count_elements;
    }

    @Override
    public CRLRefType[] getCRLRefArray() {
        CRLRefType[] cRLRefTypeArr;
        synchronized (monitor()) {
            check_orphaned();
            ArrayList arrayList = new ArrayList();
            get_store().find_all_element_users(CRLREF$0, arrayList);
            cRLRefTypeArr = new CRLRefType[arrayList.size()];
            arrayList.toArray(cRLRefTypeArr);
        }
        return cRLRefTypeArr;
    }

    @Override
    public void setCRLRefArray(CRLRefType[] cRLRefTypeArr) {
        synchronized (monitor()) {
            check_orphaned();
            arraySetterHelper(cRLRefTypeArr, CRLREF$0);
        }
    }
}