source: trunk/docx4j/src/main/java/org/docx4j/wml/Lvl.java @ 1129

Revision 1129, 33.9 KB checked in by jharrop, 2 years ago (diff)

Fix instances of "Two classes have the same XML type name -- Use .. @XmlType? namespace to assign different names to them."

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.wml;
23
24import java.math.BigInteger;
25import javax.xml.bind.Unmarshaller;
26import javax.xml.bind.annotation.XmlAccessType;
27import javax.xml.bind.annotation.XmlAccessorType;
28import javax.xml.bind.annotation.XmlAttribute;
29import javax.xml.bind.annotation.XmlTransient;
30import javax.xml.bind.annotation.XmlType;
31import org.jvnet.jaxb2_commons.ppp.Child;
32
33
34/**
35 * <p>Java class for CT_Lvl complex type.
36 *
37 * <p>The following schema fragment specifies the expected content contained within this class.
38 *
39 * <pre>
40 * &lt;complexType name="CT_Lvl">
41 *   &lt;complexContent>
42 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
43 *       &lt;sequence>
44 *         &lt;element name="start" minOccurs="0">
45 *           &lt;complexType>
46 *             &lt;complexContent>
47 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
48 *                 &lt;attribute name="val" use="required">
49 *                   &lt;simpleType>
50 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}integer">
51 *                     &lt;/restriction>
52 *                   &lt;/simpleType>
53 *                 &lt;/attribute>
54 *               &lt;/restriction>
55 *             &lt;/complexContent>
56 *           &lt;/complexType>
57 *         &lt;/element>
58 *         &lt;element name="numFmt" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_NumFmt" minOccurs="0"/>
59 *         &lt;element name="lvlRestart" minOccurs="0">
60 *           &lt;complexType>
61 *             &lt;complexContent>
62 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
63 *                 &lt;attribute name="val" use="required">
64 *                   &lt;simpleType>
65 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}integer">
66 *                     &lt;/restriction>
67 *                   &lt;/simpleType>
68 *                 &lt;/attribute>
69 *               &lt;/restriction>
70 *             &lt;/complexContent>
71 *           &lt;/complexType>
72 *         &lt;/element>
73 *         &lt;element name="pStyle" minOccurs="0">
74 *           &lt;complexType>
75 *             &lt;complexContent>
76 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
77 *                 &lt;attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
78 *               &lt;/restriction>
79 *             &lt;/complexContent>
80 *           &lt;/complexType>
81 *         &lt;/element>
82 *         &lt;element name="isLgl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
83 *         &lt;element name="suff" minOccurs="0">
84 *           &lt;complexType>
85 *             &lt;complexContent>
86 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
87 *                 &lt;attribute name="val" use="required">
88 *                   &lt;simpleType>
89 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
90 *                       &lt;enumeration value="tab"/>
91 *                       &lt;enumeration value="space"/>
92 *                       &lt;enumeration value="nothing"/>
93 *                     &lt;/restriction>
94 *                   &lt;/simpleType>
95 *                 &lt;/attribute>
96 *               &lt;/restriction>
97 *             &lt;/complexContent>
98 *           &lt;/complexType>
99 *         &lt;/element>
100 *         &lt;element name="lvlText" minOccurs="0">
101 *           &lt;complexType>
102 *             &lt;complexContent>
103 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
104 *                 &lt;attribute name="val" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
105 *                 &lt;attribute name="null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
106 *               &lt;/restriction>
107 *             &lt;/complexContent>
108 *           &lt;/complexType>
109 *         &lt;/element>
110 *         &lt;element name="lvlPicBulletId" minOccurs="0">
111 *           &lt;complexType>
112 *             &lt;complexContent>
113 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
114 *                 &lt;attribute name="val" use="required">
115 *                   &lt;simpleType>
116 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}integer">
117 *                     &lt;/restriction>
118 *                   &lt;/simpleType>
119 *                 &lt;/attribute>
120 *               &lt;/restriction>
121 *             &lt;/complexContent>
122 *           &lt;/complexType>
123 *         &lt;/element>
124 *         &lt;element name="legacy" minOccurs="0">
125 *           &lt;complexType>
126 *             &lt;complexContent>
127 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
128 *                 &lt;attribute name="legacy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
129 *                 &lt;attribute name="legacySpace" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
130 *                 &lt;attribute name="legacyIndent" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
131 *               &lt;/restriction>
132 *             &lt;/complexContent>
133 *           &lt;/complexType>
134 *         &lt;/element>
135 *         &lt;element name="lvlJc" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Jc" minOccurs="0"/>
136 *         &lt;element name="pPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PPr" minOccurs="0"/>
137 *         &lt;element name="rPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_RPr" minOccurs="0"/>
138 *       &lt;/sequence>
139 *       &lt;attribute name="ilvl" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
140 *       &lt;attribute name="tplc" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
141 *       &lt;attribute name="tentative" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
142 *     &lt;/restriction>
143 *   &lt;/complexContent>
144 * &lt;/complexType>
145 * </pre>
146 *
147 *
148 */
149@XmlAccessorType(XmlAccessType.FIELD)
150@XmlType(namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main", name = "CT_Lvl", propOrder = {
151    "start",
152    "numFmt",
153    "lvlRestart",
154    "pStyle",
155    "isLgl",
156    "suff",
157    "lvlText",
158    "lvlPicBulletId",
159    "legacy",
160    "lvlJc",
161    "pPr",
162    "rPr"
163})
164public class Lvl
165    implements Child
166{
167
168    protected Lvl.Start start;
169    protected NumFmt numFmt;
170    protected Lvl.LvlRestart lvlRestart;
171    protected Lvl.PStyle pStyle;
172    protected BooleanDefaultTrue isLgl;
173    protected Lvl.Suff suff;
174    protected Lvl.LvlText lvlText;
175    protected Lvl.LvlPicBulletId lvlPicBulletId;
176    protected Lvl.Legacy legacy;
177    protected Jc lvlJc;
178    protected PPr pPr;
179    protected RPr rPr;
180    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
181    protected BigInteger ilvl;
182    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
183    protected String tplc;
184    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
185    protected Boolean tentative;
186    @XmlTransient
187    private Object parent;
188
189    /**
190     * Gets the value of the start property.
191     *
192     * @return
193     *     possible object is
194     *     {@link Lvl.Start }
195     *     
196     */
197    public Lvl.Start getStart() {
198        return start;
199    }
200
201    /**
202     * Sets the value of the start property.
203     *
204     * @param value
205     *     allowed object is
206     *     {@link Lvl.Start }
207     *     
208     */
209    public void setStart(Lvl.Start value) {
210        this.start = value;
211    }
212
213    /**
214     * Gets the value of the numFmt property.
215     *
216     * @return
217     *     possible object is
218     *     {@link NumFmt }
219     *     
220     */
221    public NumFmt getNumFmt() {
222        return numFmt;
223    }
224
225    /**
226     * Sets the value of the numFmt property.
227     *
228     * @param value
229     *     allowed object is
230     *     {@link NumFmt }
231     *     
232     */
233    public void setNumFmt(NumFmt value) {
234        this.numFmt = value;
235    }
236
237    /**
238     * Gets the value of the lvlRestart property.
239     *
240     * @return
241     *     possible object is
242     *     {@link Lvl.LvlRestart }
243     *     
244     */
245    public Lvl.LvlRestart getLvlRestart() {
246        return lvlRestart;
247    }
248
249    /**
250     * Sets the value of the lvlRestart property.
251     *
252     * @param value
253     *     allowed object is
254     *     {@link Lvl.LvlRestart }
255     *     
256     */
257    public void setLvlRestart(Lvl.LvlRestart value) {
258        this.lvlRestart = value;
259    }
260
261    /**
262     * Gets the value of the pStyle property.
263     *
264     * @return
265     *     possible object is
266     *     {@link Lvl.PStyle }
267     *     
268     */
269    public Lvl.PStyle getPStyle() {
270        return pStyle;
271    }
272
273    /**
274     * Sets the value of the pStyle property.
275     *
276     * @param value
277     *     allowed object is
278     *     {@link Lvl.PStyle }
279     *     
280     */
281    public void setPStyle(Lvl.PStyle value) {
282        this.pStyle = value;
283    }
284
285    /**
286     * Gets the value of the isLgl property.
287     *
288     * @return
289     *     possible object is
290     *     {@link BooleanDefaultTrue }
291     *     
292     */
293    public BooleanDefaultTrue getIsLgl() {
294        return isLgl;
295    }
296
297    /**
298     * Sets the value of the isLgl property.
299     *
300     * @param value
301     *     allowed object is
302     *     {@link BooleanDefaultTrue }
303     *     
304     */
305    public void setIsLgl(BooleanDefaultTrue value) {
306        this.isLgl = value;
307    }
308
309    /**
310     * Gets the value of the suff property.
311     *
312     * @return
313     *     possible object is
314     *     {@link Lvl.Suff }
315     *     
316     */
317    public Lvl.Suff getSuff() {
318        return suff;
319    }
320
321    /**
322     * Sets the value of the suff property.
323     *
324     * @param value
325     *     allowed object is
326     *     {@link Lvl.Suff }
327     *     
328     */
329    public void setSuff(Lvl.Suff value) {
330        this.suff = value;
331    }
332
333    /**
334     * Gets the value of the lvlText property.
335     *
336     * @return
337     *     possible object is
338     *     {@link Lvl.LvlText }
339     *     
340     */
341    public Lvl.LvlText getLvlText() {
342        return lvlText;
343    }
344
345    /**
346     * Sets the value of the lvlText property.
347     *
348     * @param value
349     *     allowed object is
350     *     {@link Lvl.LvlText }
351     *     
352     */
353    public void setLvlText(Lvl.LvlText value) {
354        this.lvlText = value;
355    }
356
357    /**
358     * Gets the value of the lvlPicBulletId property.
359     *
360     * @return
361     *     possible object is
362     *     {@link Lvl.LvlPicBulletId }
363     *     
364     */
365    public Lvl.LvlPicBulletId getLvlPicBulletId() {
366        return lvlPicBulletId;
367    }
368
369    /**
370     * Sets the value of the lvlPicBulletId property.
371     *
372     * @param value
373     *     allowed object is
374     *     {@link Lvl.LvlPicBulletId }
375     *     
376     */
377    public void setLvlPicBulletId(Lvl.LvlPicBulletId value) {
378        this.lvlPicBulletId = value;
379    }
380
381    /**
382     * Gets the value of the legacy property.
383     *
384     * @return
385     *     possible object is
386     *     {@link Lvl.Legacy }
387     *     
388     */
389    public Lvl.Legacy getLegacy() {
390        return legacy;
391    }
392
393    /**
394     * Sets the value of the legacy property.
395     *
396     * @param value
397     *     allowed object is
398     *     {@link Lvl.Legacy }
399     *     
400     */
401    public void setLegacy(Lvl.Legacy value) {
402        this.legacy = value;
403    }
404
405    /**
406     * Gets the value of the lvlJc property.
407     *
408     * @return
409     *     possible object is
410     *     {@link Jc }
411     *     
412     */
413    public Jc getLvlJc() {
414        return lvlJc;
415    }
416
417    /**
418     * Sets the value of the lvlJc property.
419     *
420     * @param value
421     *     allowed object is
422     *     {@link Jc }
423     *     
424     */
425    public void setLvlJc(Jc value) {
426        this.lvlJc = value;
427    }
428
429    /**
430     * Gets the value of the pPr property.
431     *
432     * @return
433     *     possible object is
434     *     {@link PPr }
435     *     
436     */
437    public PPr getPPr() {
438        return pPr;
439    }
440
441    /**
442     * Sets the value of the pPr property.
443     *
444     * @param value
445     *     allowed object is
446     *     {@link PPr }
447     *     
448     */
449    public void setPPr(PPr value) {
450        this.pPr = value;
451    }
452
453    /**
454     * Gets the value of the rPr property.
455     *
456     * @return
457     *     possible object is
458     *     {@link RPr }
459     *     
460     */
461    public RPr getRPr() {
462        return rPr;
463    }
464
465    /**
466     * Sets the value of the rPr property.
467     *
468     * @param value
469     *     allowed object is
470     *     {@link RPr }
471     *     
472     */
473    public void setRPr(RPr value) {
474        this.rPr = value;
475    }
476
477    /**
478     * Gets the value of the ilvl property.
479     *
480     * @return
481     *     possible object is
482     *     {@link BigInteger }
483     *     
484     */
485    public BigInteger getIlvl() {
486        return ilvl;
487    }
488
489    /**
490     * Sets the value of the ilvl property.
491     *
492     * @param value
493     *     allowed object is
494     *     {@link BigInteger }
495     *     
496     */
497    public void setIlvl(BigInteger value) {
498        this.ilvl = value;
499    }
500
501    /**
502     * Gets the value of the tplc property.
503     *
504     * @return
505     *     possible object is
506     *     {@link String }
507     *     
508     */
509    public String getTplc() {
510        return tplc;
511    }
512
513    /**
514     * Sets the value of the tplc property.
515     *
516     * @param value
517     *     allowed object is
518     *     {@link String }
519     *     
520     */
521    public void setTplc(String value) {
522        this.tplc = value;
523    }
524
525    /**
526     * Gets the value of the tentative property.
527     *
528     * @return
529     *     possible object is
530     *     {@link Boolean }
531     *     
532     */
533    public boolean isTentative() {
534        if (tentative == null) {
535            return true;
536        } else {
537            return tentative;
538        }
539    }
540
541    /**
542     * Sets the value of the tentative property.
543     *
544     * @param value
545     *     allowed object is
546     *     {@link Boolean }
547     *     
548     */
549    public void setTentative(Boolean value) {
550        this.tentative = value;
551    }
552
553    /**
554     * Gets the parent object in the object tree representing the unmarshalled xml document.
555     *
556     * @return
557     *     The parent object.
558     */
559    public Object getParent() {
560        return this.parent;
561    }
562
563    public void setParent(Object parent) {
564        this.parent = parent;
565    }
566
567    /**
568     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
569     *
570     * @param parent
571     *     The parent object in the object tree.
572     * @param unmarshaller
573     *     The unmarshaller that generated the instance.
574     */
575    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
576        setParent(parent);
577    }
578
579
580    /**
581     * <p>Java class for anonymous complex type.
582     *
583     * <p>The following schema fragment specifies the expected content contained within this class.
584     *
585     * <pre>
586     * &lt;complexType>
587     *   &lt;complexContent>
588     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
589     *       &lt;attribute name="legacy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
590     *       &lt;attribute name="legacySpace" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
591     *       &lt;attribute name="legacyIndent" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
592     *     &lt;/restriction>
593     *   &lt;/complexContent>
594     * &lt;/complexType>
595     * </pre>
596     *
597     *
598     */
599    @XmlAccessorType(XmlAccessType.FIELD)
600    @XmlType(name = "")
601    public static class Legacy
602        implements Child
603    {
604
605        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
606        protected Boolean legacy;
607        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
608        protected BigInteger legacySpace;
609        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
610        protected BigInteger legacyIndent;
611        @XmlTransient
612        private Object parent;
613
614        /**
615         * Gets the value of the legacy property.
616         *
617         * @return
618         *     possible object is
619         *     {@link Boolean }
620         *     
621         */
622        public boolean isLegacy() {
623            if (legacy == null) {
624                return true;
625            } else {
626                return legacy;
627            }
628        }
629
630        /**
631         * Sets the value of the legacy property.
632         *
633         * @param value
634         *     allowed object is
635         *     {@link Boolean }
636         *     
637         */
638        public void setLegacy(Boolean value) {
639            this.legacy = value;
640        }
641
642        /**
643         * Gets the value of the legacySpace property.
644         *
645         * @return
646         *     possible object is
647         *     {@link BigInteger }
648         *     
649         */
650        public BigInteger getLegacySpace() {
651            return legacySpace;
652        }
653
654        /**
655         * Sets the value of the legacySpace property.
656         *
657         * @param value
658         *     allowed object is
659         *     {@link BigInteger }
660         *     
661         */
662        public void setLegacySpace(BigInteger value) {
663            this.legacySpace = value;
664        }
665
666        /**
667         * Gets the value of the legacyIndent property.
668         *
669         * @return
670         *     possible object is
671         *     {@link BigInteger }
672         *     
673         */
674        public BigInteger getLegacyIndent() {
675            return legacyIndent;
676        }
677
678        /**
679         * Sets the value of the legacyIndent property.
680         *
681         * @param value
682         *     allowed object is
683         *     {@link BigInteger }
684         *     
685         */
686        public void setLegacyIndent(BigInteger value) {
687            this.legacyIndent = value;
688        }
689
690        /**
691         * Gets the parent object in the object tree representing the unmarshalled xml document.
692         *
693         * @return
694         *     The parent object.
695         */
696        public Object getParent() {
697            return this.parent;
698        }
699
700        public void setParent(Object parent) {
701            this.parent = parent;
702        }
703
704        /**
705         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
706         *
707         * @param parent
708         *     The parent object in the object tree.
709         * @param unmarshaller
710         *     The unmarshaller that generated the instance.
711         */
712        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
713            setParent(parent);
714        }
715
716    }
717
718
719    /**
720     * <p>Java class for anonymous complex type.
721     *
722     * <p>The following schema fragment specifies the expected content contained within this class.
723     *
724     * <pre>
725     * &lt;complexType>
726     *   &lt;complexContent>
727     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
728     *       &lt;attribute name="val" use="required">
729     *         &lt;simpleType>
730     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}integer">
731     *           &lt;/restriction>
732     *         &lt;/simpleType>
733     *       &lt;/attribute>
734     *     &lt;/restriction>
735     *   &lt;/complexContent>
736     * &lt;/complexType>
737     * </pre>
738     *
739     *
740     */
741    @XmlAccessorType(XmlAccessType.FIELD)
742    @XmlType(name = "")
743    public static class LvlPicBulletId
744        implements Child
745    {
746
747        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
748        protected BigInteger val;
749        @XmlTransient
750        private Object parent;
751
752        /**
753         * Gets the value of the val property.
754         *
755         * @return
756         *     possible object is
757         *     {@link BigInteger }
758         *     
759         */
760        public BigInteger getVal() {
761            return val;
762        }
763
764        /**
765         * Sets the value of the val property.
766         *
767         * @param value
768         *     allowed object is
769         *     {@link BigInteger }
770         *     
771         */
772        public void setVal(BigInteger value) {
773            this.val = value;
774        }
775
776        /**
777         * Gets the parent object in the object tree representing the unmarshalled xml document.
778         *
779         * @return
780         *     The parent object.
781         */
782        public Object getParent() {
783            return this.parent;
784        }
785
786        public void setParent(Object parent) {
787            this.parent = parent;
788        }
789
790        /**
791         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
792         *
793         * @param parent
794         *     The parent object in the object tree.
795         * @param unmarshaller
796         *     The unmarshaller that generated the instance.
797         */
798        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
799            setParent(parent);
800        }
801
802    }
803
804
805    /**
806     * <p>Java class for anonymous complex type.
807     *
808     * <p>The following schema fragment specifies the expected content contained within this class.
809     *
810     * <pre>
811     * &lt;complexType>
812     *   &lt;complexContent>
813     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
814     *       &lt;attribute name="val" use="required">
815     *         &lt;simpleType>
816     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}integer">
817     *           &lt;/restriction>
818     *         &lt;/simpleType>
819     *       &lt;/attribute>
820     *     &lt;/restriction>
821     *   &lt;/complexContent>
822     * &lt;/complexType>
823     * </pre>
824     *
825     *
826     */
827    @XmlAccessorType(XmlAccessType.FIELD)
828    @XmlType(name = "")
829    public static class LvlRestart
830        implements Child
831    {
832
833        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
834        protected BigInteger val;
835        @XmlTransient
836        private Object parent;
837
838        /**
839         * Gets the value of the val property.
840         *
841         * @return
842         *     possible object is
843         *     {@link BigInteger }
844         *     
845         */
846        public BigInteger getVal() {
847            return val;
848        }
849
850        /**
851         * Sets the value of the val property.
852         *
853         * @param value
854         *     allowed object is
855         *     {@link BigInteger }
856         *     
857         */
858        public void setVal(BigInteger value) {
859            this.val = value;
860        }
861
862        /**
863         * Gets the parent object in the object tree representing the unmarshalled xml document.
864         *
865         * @return
866         *     The parent object.
867         */
868        public Object getParent() {
869            return this.parent;
870        }
871
872        public void setParent(Object parent) {
873            this.parent = parent;
874        }
875
876        /**
877         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
878         *
879         * @param parent
880         *     The parent object in the object tree.
881         * @param unmarshaller
882         *     The unmarshaller that generated the instance.
883         */
884        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
885            setParent(parent);
886        }
887
888    }
889
890
891    /**
892     * <p>Java class for anonymous complex type.
893     *
894     * <p>The following schema fragment specifies the expected content contained within this class.
895     *
896     * <pre>
897     * &lt;complexType>
898     *   &lt;complexContent>
899     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
900     *       &lt;attribute name="val" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
901     *       &lt;attribute name="null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
902     *     &lt;/restriction>
903     *   &lt;/complexContent>
904     * &lt;/complexType>
905     * </pre>
906     *
907     *
908     */
909    @XmlAccessorType(XmlAccessType.FIELD)
910    @XmlType(name = "")
911    public static class LvlText
912        implements Child
913    {
914
915        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
916        protected String val;
917        @XmlAttribute(name = "null", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
918        protected Boolean _null;
919        @XmlTransient
920        private Object parent;
921
922        /**
923         * Gets the value of the val property.
924         *
925         * @return
926         *     possible object is
927         *     {@link String }
928         *     
929         */
930        public String getVal() {
931            return val;
932        }
933
934        /**
935         * Sets the value of the val property.
936         *
937         * @param value
938         *     allowed object is
939         *     {@link String }
940         *     
941         */
942        public void setVal(String value) {
943            this.val = value;
944        }
945
946        /**
947         * Gets the value of the null property.
948         *
949         * @return
950         *     possible object is
951         *     {@link Boolean }
952         *     
953         */
954        public boolean isNull() {
955            if (_null == null) {
956                return true;
957            } else {
958                return _null;
959            }
960        }
961
962        /**
963         * Sets the value of the null property.
964         *
965         * @param value
966         *     allowed object is
967         *     {@link Boolean }
968         *     
969         */
970        public void setNull(Boolean value) {
971            this._null = value;
972        }
973
974        /**
975         * Gets the parent object in the object tree representing the unmarshalled xml document.
976         *
977         * @return
978         *     The parent object.
979         */
980        public Object getParent() {
981            return this.parent;
982        }
983
984        public void setParent(Object parent) {
985            this.parent = parent;
986        }
987
988        /**
989         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
990         *
991         * @param parent
992         *     The parent object in the object tree.
993         * @param unmarshaller
994         *     The unmarshaller that generated the instance.
995         */
996        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
997            setParent(parent);
998        }
999
1000    }
1001
1002
1003    /**
1004     * <p>Java class for anonymous complex type.
1005     *
1006     * <p>The following schema fragment specifies the expected content contained within this class.
1007     *
1008     * <pre>
1009     * &lt;complexType>
1010     *   &lt;complexContent>
1011     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1012     *       &lt;attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
1013     *     &lt;/restriction>
1014     *   &lt;/complexContent>
1015     * &lt;/complexType>
1016     * </pre>
1017     *
1018     *
1019     */
1020    @XmlAccessorType(XmlAccessType.FIELD)
1021    @XmlType(name = "")
1022    public static class PStyle
1023        implements Child
1024    {
1025
1026        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
1027        protected String val;
1028        @XmlTransient
1029        private Object parent;
1030
1031        /**
1032         * Gets the value of the val property.
1033         *
1034         * @return
1035         *     possible object is
1036         *     {@link String }
1037         *     
1038         */
1039        public String getVal() {
1040            return val;
1041        }
1042
1043        /**
1044         * Sets the value of the val property.
1045         *
1046         * @param value
1047         *     allowed object is
1048         *     {@link String }
1049         *     
1050         */
1051        public void setVal(String value) {
1052            this.val = value;
1053        }
1054
1055        /**
1056         * Gets the parent object in the object tree representing the unmarshalled xml document.
1057         *
1058         * @return
1059         *     The parent object.
1060         */
1061        public Object getParent() {
1062            return this.parent;
1063        }
1064
1065        public void setParent(Object parent) {
1066            this.parent = parent;
1067        }
1068
1069        /**
1070         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1071         *
1072         * @param parent
1073         *     The parent object in the object tree.
1074         * @param unmarshaller
1075         *     The unmarshaller that generated the instance.
1076         */
1077        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1078            setParent(parent);
1079        }
1080
1081    }
1082
1083
1084    /**
1085     * <p>Java class for anonymous complex type.
1086     *
1087     * <p>The following schema fragment specifies the expected content contained within this class.
1088     *
1089     * <pre>
1090     * &lt;complexType>
1091     *   &lt;complexContent>
1092     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1093     *       &lt;attribute name="val" use="required">
1094     *         &lt;simpleType>
1095     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}integer">
1096     *           &lt;/restriction>
1097     *         &lt;/simpleType>
1098     *       &lt;/attribute>
1099     *     &lt;/restriction>
1100     *   &lt;/complexContent>
1101     * &lt;/complexType>
1102     * </pre>
1103     *
1104     *
1105     */
1106    @XmlAccessorType(XmlAccessType.FIELD)
1107    @XmlType(name = "")
1108    public static class Start
1109        implements Child
1110    {
1111
1112        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1113        protected BigInteger val;
1114        @XmlTransient
1115        private Object parent;
1116
1117        /**
1118         * Gets the value of the val property.
1119         *
1120         * @return
1121         *     possible object is
1122         *     {@link BigInteger }
1123         *     
1124         */
1125        public BigInteger getVal() {
1126            return val;
1127        }
1128
1129        /**
1130         * Sets the value of the val property.
1131         *
1132         * @param value
1133         *     allowed object is
1134         *     {@link BigInteger }
1135         *     
1136         */
1137        public void setVal(BigInteger value) {
1138            this.val = value;
1139        }
1140
1141        /**
1142         * Gets the parent object in the object tree representing the unmarshalled xml document.
1143         *
1144         * @return
1145         *     The parent object.
1146         */
1147        public Object getParent() {
1148            return this.parent;
1149        }
1150
1151        public void setParent(Object parent) {
1152            this.parent = parent;
1153        }
1154
1155        /**
1156         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1157         *
1158         * @param parent
1159         *     The parent object in the object tree.
1160         * @param unmarshaller
1161         *     The unmarshaller that generated the instance.
1162         */
1163        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1164            setParent(parent);
1165        }
1166
1167    }
1168
1169
1170    /**
1171     * <p>Java class for anonymous complex type.
1172     *
1173     * <p>The following schema fragment specifies the expected content contained within this class.
1174     *
1175     * <pre>
1176     * &lt;complexType>
1177     *   &lt;complexContent>
1178     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1179     *       &lt;attribute name="val" use="required">
1180     *         &lt;simpleType>
1181     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
1182     *             &lt;enumeration value="tab"/>
1183     *             &lt;enumeration value="space"/>
1184     *             &lt;enumeration value="nothing"/>
1185     *           &lt;/restriction>
1186     *         &lt;/simpleType>
1187     *       &lt;/attribute>
1188     *     &lt;/restriction>
1189     *   &lt;/complexContent>
1190     * &lt;/complexType>
1191     * </pre>
1192     *
1193     *
1194     */
1195    @XmlAccessorType(XmlAccessType.FIELD)
1196    @XmlType(name = "")
1197    public static class Suff
1198        implements Child
1199    {
1200
1201        @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
1202        protected String val;
1203        @XmlTransient
1204        private Object parent;
1205
1206        /**
1207         * Gets the value of the val property.
1208         *
1209         * @return
1210         *     possible object is
1211         *     {@link String }
1212         *     
1213         */
1214        public String getVal() {
1215            return val;
1216        }
1217
1218        /**
1219         * Sets the value of the val property.
1220         *
1221         * @param value
1222         *     allowed object is
1223         *     {@link String }
1224         *     
1225         */
1226        public void setVal(String value) {
1227            this.val = value;
1228        }
1229
1230        /**
1231         * Gets the parent object in the object tree representing the unmarshalled xml document.
1232         *
1233         * @return
1234         *     The parent object.
1235         */
1236        public Object getParent() {
1237            return this.parent;
1238        }
1239
1240        public void setParent(Object parent) {
1241            this.parent = parent;
1242        }
1243
1244        /**
1245         * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
1246         *
1247         * @param parent
1248         *     The parent object in the object tree.
1249         * @param unmarshaller
1250         *     The unmarshaller that generated the instance.
1251         */
1252        public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
1253            setParent(parent);
1254        }
1255
1256    }
1257
1258}
Note: See TracBrowser for help on using the repository browser.