source: trunk/docx4j/src/main/java/org/docx4j/dml/CTAdjustHandleList.java @ 1041

Revision 1041, 2.9 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21
22package org.docx4j.dml;
23
24import java.util.ArrayList;
25import java.util.List;
26import javax.xml.bind.annotation.XmlAccessType;
27import javax.xml.bind.annotation.XmlAccessorType;
28import javax.xml.bind.annotation.XmlElement;
29import javax.xml.bind.annotation.XmlElements;
30import javax.xml.bind.annotation.XmlType;
31
32
33/**
34 * <p>Java class for CT_AdjustHandleList complex type.
35 *
36 * <p>The following schema fragment specifies the expected content contained within this class.
37 *
38 * <pre>
39 * &lt;complexType name="CT_AdjustHandleList">
40 *   &lt;complexContent>
41 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 *       &lt;choice maxOccurs="unbounded" minOccurs="0">
43 *         &lt;element name="ahXY" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_XYAdjustHandle"/>
44 *         &lt;element name="ahPolar" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PolarAdjustHandle"/>
45 *       &lt;/choice>
46 *     &lt;/restriction>
47 *   &lt;/complexContent>
48 * &lt;/complexType>
49 * </pre>
50 *
51 *
52 */
53@XmlAccessorType(XmlAccessType.FIELD)
54@XmlType(name = "CT_AdjustHandleList", propOrder = {
55    "ahXYOrAhPolar"
56})
57public class CTAdjustHandleList {
58
59    @XmlElements({
60        @XmlElement(name = "ahXY", type = CTXYAdjustHandle.class),
61        @XmlElement(name = "ahPolar", type = CTPolarAdjustHandle.class)
62    })
63    protected List<Object> ahXYOrAhPolar;
64
65    /**
66     * Gets the value of the ahXYOrAhPolar property.
67     *
68     * <p>
69     * This accessor method returns a reference to the live list,
70     * not a snapshot. Therefore any modification you make to the
71     * returned list will be present inside the JAXB object.
72     * This is why there is not a <CODE>set</CODE> method for the ahXYOrAhPolar property.
73     *
74     * <p>
75     * For example, to add a new item, do as follows:
76     * <pre>
77     *    getAhXYOrAhPolar().add(newItem);
78     * </pre>
79     *
80     *
81     * <p>
82     * Objects of the following type(s) are allowed in the list
83     * {@link CTXYAdjustHandle }
84     * {@link CTPolarAdjustHandle }
85     *
86     *
87     */
88    public List<Object> getAhXYOrAhPolar() {
89        if (ahXYOrAhPolar == null) {
90            ahXYOrAhPolar = new ArrayList<Object>();
91        }
92        return this.ahXYOrAhPolar;
93    }
94
95}
Note: See TracBrowser for help on using the repository browser.