1
2
3
4
5
6
7
8
9 package org.jomc.modlet;
10
11 import java.io.ByteArrayInputStream;
12 import java.io.ByteArrayOutputStream;
13 import java.io.File;
14 import java.io.IOException;
15 import java.io.InvalidClassException;
16 import java.io.NotSerializableException;
17 import java.io.ObjectInputStream;
18 import java.io.ObjectOutputStream;
19 import java.io.OptionalDataException;
20 import java.io.Serializable;
21 import java.io.StreamCorruptedException;
22 import java.lang.reflect.Array;
23 import java.lang.reflect.InvocationTargetException;
24 import java.math.BigDecimal;
25 import java.math.BigInteger;
26 import java.net.MalformedURLException;
27 import java.net.URI;
28 import java.net.URISyntaxException;
29 import java.net.URL;
30 import java.util.ArrayList;
31 import java.util.Calendar;
32 import java.util.Currency;
33 import java.util.Date;
34 import java.util.Iterator;
35 import java.util.List;
36 import java.util.Locale;
37 import java.util.TimeZone;
38 import java.util.UUID;
39 import javax.activation.MimeType;
40 import javax.activation.MimeTypeParseException;
41 import javax.annotation.Generated;
42 import javax.xml.bind.JAXBElement;
43 import javax.xml.bind.annotation.XmlAccessType;
44 import javax.xml.bind.annotation.XmlAccessorType;
45 import javax.xml.bind.annotation.XmlAnyElement;
46 import javax.xml.bind.annotation.XmlAttribute;
47 import javax.xml.bind.annotation.XmlElement;
48 import javax.xml.bind.annotation.XmlType;
49 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
50 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
51 import javax.xml.datatype.Duration;
52 import javax.xml.datatype.XMLGregorianCalendar;
53 import javax.xml.namespace.QName;
54 import org.w3c.dom.Element;
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91 @XmlAccessorType(XmlAccessType.FIELD)
92 @XmlType(name = "Modlet", namespace = "http://jomc.org/modlet", propOrder = {
93 "schemas",
94 "services",
95 "any"
96 })
97 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
98 public class Modlet
99 extends ModletObject
100 implements Cloneable
101 {
102
103 @XmlElement(namespace = "http://jomc.org/modlet")
104 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
105 protected Schemas schemas;
106 @XmlElement(namespace = "http://jomc.org/modlet")
107 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
108 protected Services services;
109 @XmlAnyElement(lax = true)
110 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
111 protected List<Object> any;
112 @XmlAttribute(name = "name", required = true)
113 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
114 protected String name;
115 @XmlAttribute(name = "model")
116 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
117 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
118 protected String model;
119 @XmlAttribute(name = "vendor")
120 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
121 protected String vendor;
122 @XmlAttribute(name = "version")
123 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
124 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
125 protected String version;
126
127
128
129
130
131 public Modlet() {
132
133 super();
134 }
135
136
137
138
139
140
141
142
143
144
145 public Modlet(final Modlet o) {
146
147 super(o);
148 if (o == null) {
149 throw new NullPointerException("Cannot create a copy of 'Modlet' from 'null'.");
150 }
151
152 this.schemas = ((o.schemas == null)?null:((o.getSchemas() == null)?null:o.getSchemas().clone()));
153
154 this.services = ((o.services == null)?null:((o.getServices() == null)?null:o.getServices().clone()));
155
156 if (o.any!= null) {
157 copyAny(o.getAny(), this.getAny());
158 }
159
160 this.name = ((o.name == null)?null:o.getName());
161
162 this.model = ((o.model == null)?null:o.getModel());
163
164 this.vendor = ((o.vendor == null)?null:o.getVendor());
165
166 this.version = ((o.version == null)?null:o.getVersion());
167 }
168
169
170
171
172
173
174
175
176
177 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
178 public Schemas getSchemas() {
179 return schemas;
180 }
181
182
183
184
185
186
187
188
189
190 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
191 public void setSchemas(Schemas value) {
192 this.schemas = value;
193 }
194
195
196
197
198
199
200
201
202
203 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
204 public Services getServices() {
205 return services;
206 }
207
208
209
210
211
212
213
214
215
216 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
217 public void setServices(Services value) {
218 this.services = value;
219 }
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
245 public List<Object> getAny() {
246 if (any == null) {
247 any = new ArrayList<Object>();
248 }
249 return this.any;
250 }
251
252
253
254
255
256
257
258
259
260 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
261 public String getName() {
262 return name;
263 }
264
265
266
267
268
269
270
271
272
273 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
274 public void setName(String value) {
275 this.name = value;
276 }
277
278
279
280
281
282
283
284
285
286 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
287 public String getModel() {
288 return model;
289 }
290
291
292
293
294
295
296
297
298
299 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
300 public void setModel(String value) {
301 this.model = value;
302 }
303
304
305
306
307
308
309
310
311
312 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
313 public String getVendor() {
314 return vendor;
315 }
316
317
318
319
320
321
322
323
324
325 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
326 public void setVendor(String value) {
327 this.vendor = value;
328 }
329
330
331
332
333
334
335
336
337
338 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
339 public String getVersion() {
340 return version;
341 }
342
343
344
345
346
347
348
349
350
351 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
352 public void setVersion(String value) {
353 this.version = value;
354 }
355
356
357
358
359
360
361
362
363
364
365
366 @SuppressWarnings("unchecked")
367 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
368 private static void copyAny(final List<Object> source, final List<Object> target) {
369
370 if ((source!= null)&&(!source.isEmpty())) {
371 for (final Iterator<?> it = source.iterator(); it.hasNext(); ) {
372 final Object next = it.next();
373 if (next instanceof Element) {
374
375 target.add(((Element)((Element) next).cloneNode(true)));
376 continue;
377 }
378 if (next instanceof Object) {
379
380 target.add(copyOf(((Object) next)));
381 continue;
382 }
383
384 throw new AssertionError((("Unexpected instance '"+ next)+"' for property 'Any' of class 'org.jomc.modlet.Modlet'."));
385 }
386 }
387 }
388
389
390
391
392
393
394
395
396
397 @SuppressWarnings("unchecked")
398 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
399 private static Object copyOf(final Object o) {
400
401 try {
402 if (o!= null) {
403 if (o.getClass().isPrimitive()) {
404 return o;
405 }
406 if (o.getClass().isArray()) {
407 return copyOfArray(o);
408 }
409
410 if (o instanceof Boolean) {
411 return o;
412 }
413 if (o instanceof Byte) {
414 return o;
415 }
416 if (o instanceof Character) {
417 return o;
418 }
419 if (o instanceof Double) {
420 return o;
421 }
422 if (o instanceof Enum) {
423 return o;
424 }
425 if (o instanceof Float) {
426 return o;
427 }
428 if (o instanceof Integer) {
429 return o;
430 }
431 if (o instanceof Long) {
432 return o;
433 }
434 if (o instanceof Short) {
435 return o;
436 }
437 if (o instanceof String) {
438 return o;
439 }
440 if (o instanceof BigDecimal) {
441 return o;
442 }
443 if (o instanceof BigInteger) {
444 return o;
445 }
446 if (o instanceof UUID) {
447 return o;
448 }
449 if (o instanceof QName) {
450 return o;
451 }
452 if (o instanceof Duration) {
453 return o;
454 }
455 if (o instanceof Currency) {
456 return o;
457 }
458
459 if (o instanceof File) {
460 return new File(o.toString());
461 }
462 if (o instanceof URI) {
463 return new URI(o.toString());
464 }
465 if (o instanceof URL) {
466 return new URL(o.toString());
467 }
468 if (o instanceof MimeType) {
469 return new MimeType(o.toString());
470 }
471
472 if (o instanceof XMLGregorianCalendar) {
473 return ((XMLGregorianCalendar) o).clone();
474 }
475 if (o instanceof Date) {
476 return ((Date) o).clone();
477 }
478 if (o instanceof Calendar) {
479 return ((Calendar) o).clone();
480 }
481 if (o instanceof TimeZone) {
482 return ((TimeZone) o).clone();
483 }
484 if (o instanceof Locale) {
485 return ((Locale) o).clone();
486 }
487 if (o instanceof Element) {
488 return ((Element)((Element) o).cloneNode(true));
489 }
490 if (o instanceof JAXBElement) {
491 return copyOf(((JAXBElement) o));
492 }
493 try {
494 return o.getClass().getMethod("clone", ((Class[]) null)).invoke(o, ((Object[]) null));
495 } catch (NoSuchMethodException e) {
496 if (o instanceof Serializable) {
497 return copyOf(((Serializable) o));
498 }
499
500 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
501 } catch (IllegalAccessException e) {
502
503 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
504 } catch (InvocationTargetException e) {
505
506 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
507 } catch (SecurityException e) {
508
509 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
510 } catch (IllegalArgumentException e) {
511
512 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
513 } catch (ExceptionInInitializerError e) {
514
515 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
516 }
517 }
518 return null;
519 } catch (URISyntaxException e) {
520 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
521 } catch (MimeTypeParseException e) {
522 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
523 } catch (MalformedURLException e) {
524 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
525 }
526 }
527
528
529
530
531
532
533
534
535
536 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
537 private static Object copyOfArray(final Object array) {
538
539 if (array!= null) {
540 if (array.getClass() == boolean[].class) {
541 return copyOf(((boolean[]) array));
542 }
543 if (array.getClass() == byte[].class) {
544 return copyOf(((byte[]) array));
545 }
546 if (array.getClass() == char[].class) {
547 return copyOf(((char[]) array));
548 }
549 if (array.getClass() == double[].class) {
550 return copyOf(((double[]) array));
551 }
552 if (array.getClass() == float[].class) {
553 return copyOf(((float[]) array));
554 }
555 if (array.getClass() == int[].class) {
556 return copyOf(((int[]) array));
557 }
558 if (array.getClass() == long[].class) {
559 return copyOf(((long[]) array));
560 }
561 if (array.getClass() == short[].class) {
562 return copyOf(((short[]) array));
563 }
564 final int len = Array.getLength(array);
565 final Object copy = Array.newInstance(array.getClass().getComponentType(), len);
566 for (int i = (len- 1); (i >= 0); i--) {
567 Array.set(copy, i, copyOf(Array.get(array, i)));
568 }
569 return copy;
570 }
571 return null;
572 }
573
574
575
576
577
578
579
580
581
582 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
583 private static boolean[] copyOf(final boolean[] array) {
584
585 if (array!= null) {
586 final boolean[] copy = ((boolean[]) Array.newInstance(array.getClass().getComponentType(), array.length));
587 System.arraycopy(array, 0, copy, 0, array.length);
588 return copy;
589 }
590 return null;
591 }
592
593
594
595
596
597
598
599
600
601 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
602 private static byte[] copyOf(final byte[] array) {
603
604 if (array!= null) {
605 final byte[] copy = ((byte[]) Array.newInstance(array.getClass().getComponentType(), array.length));
606 System.arraycopy(array, 0, copy, 0, array.length);
607 return copy;
608 }
609 return null;
610 }
611
612
613
614
615
616
617
618
619
620 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
621 private static char[] copyOf(final char[] array) {
622
623 if (array!= null) {
624 final char[] copy = ((char[]) Array.newInstance(array.getClass().getComponentType(), array.length));
625 System.arraycopy(array, 0, copy, 0, array.length);
626 return copy;
627 }
628 return null;
629 }
630
631
632
633
634
635
636
637
638
639 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
640 private static double[] copyOf(final double[] array) {
641
642 if (array!= null) {
643 final double[] copy = ((double[]) Array.newInstance(array.getClass().getComponentType(), array.length));
644 System.arraycopy(array, 0, copy, 0, array.length);
645 return copy;
646 }
647 return null;
648 }
649
650
651
652
653
654
655
656
657
658 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
659 private static float[] copyOf(final float[] array) {
660
661 if (array!= null) {
662 final float[] copy = ((float[]) Array.newInstance(array.getClass().getComponentType(), array.length));
663 System.arraycopy(array, 0, copy, 0, array.length);
664 return copy;
665 }
666 return null;
667 }
668
669
670
671
672
673
674
675
676
677 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
678 private static int[] copyOf(final int[] array) {
679
680 if (array!= null) {
681 final int[] copy = ((int[]) Array.newInstance(array.getClass().getComponentType(), array.length));
682 System.arraycopy(array, 0, copy, 0, array.length);
683 return copy;
684 }
685 return null;
686 }
687
688
689
690
691
692
693
694
695
696 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
697 private static long[] copyOf(final long[] array) {
698
699 if (array!= null) {
700 final long[] copy = ((long[]) Array.newInstance(array.getClass().getComponentType(), array.length));
701 System.arraycopy(array, 0, copy, 0, array.length);
702 return copy;
703 }
704 return null;
705 }
706
707
708
709
710
711
712
713
714
715 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
716 private static short[] copyOf(final short[] array) {
717
718 if (array!= null) {
719 final short[] copy = ((short[]) Array.newInstance(array.getClass().getComponentType(), array.length));
720 System.arraycopy(array, 0, copy, 0, array.length);
721 return copy;
722 }
723 return null;
724 }
725
726
727
728
729
730
731
732
733
734 @SuppressWarnings("unchecked")
735 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
736 private static JAXBElement copyOf(final JAXBElement element) {
737
738 if (element!= null) {
739 final JAXBElement copy = new JAXBElement(element.getName(), element.getDeclaredType(), element.getScope(), element.getValue());
740 copy.setNil(element.isNil());
741 copy.setValue(copyOf(copy.getValue()));
742 return copy;
743 }
744 return null;
745 }
746
747
748
749
750
751
752
753
754
755 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
756 private static Serializable copyOf(final Serializable serializable) {
757
758 if (serializable!= null) {
759 try {
760 final ByteArrayOutputStream byteArrayOutput = new ByteArrayOutputStream();
761 final ObjectOutputStream out = new ObjectOutputStream(byteArrayOutput);
762 out.writeObject(serializable);
763 out.close();
764 final ByteArrayInputStream byteArrayInput = new ByteArrayInputStream(byteArrayOutput.toByteArray());
765 final ObjectInputStream in = new ObjectInputStream(byteArrayInput);
766 final Serializable copy = ((Serializable) in.readObject());
767 in.close();
768 return copy;
769 } catch (SecurityException e) {
770 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
771 } catch (ClassNotFoundException e) {
772 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
773 } catch (InvalidClassException e) {
774 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
775 } catch (NotSerializableException e) {
776 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
777 } catch (StreamCorruptedException e) {
778 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
779 } catch (OptionalDataException e) {
780 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
781 } catch (IOException e) {
782 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
783 }
784 }
785 return null;
786 }
787
788
789
790
791
792
793
794
795 @Override
796 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-01-02T04:26:39+01:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
797 public Modlet clone() {
798 {
799
800 final Modlet clone = ((Modlet) super.clone());
801
802 clone.schemas = ((this.schemas == null)?null:((this.getSchemas() == null)?null:this.getSchemas().clone()));
803
804 clone.services = ((this.services == null)?null:((this.getServices() == null)?null:this.getServices().clone()));
805
806 if (this.any!= null) {
807 clone.any = null;
808 copyAny(this.getAny(), clone.getAny());
809 }
810
811 clone.name = ((this.name == null)?null:this.getName());
812
813 clone.model = ((this.model == null)?null:this.getModel());
814
815 clone.vendor = ((this.vendor == null)?null:this.getVendor());
816
817 clone.version = ((this.version == null)?null:this.getVersion());
818 return clone;
819 }
820 }
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840 @Deprecated
841 public javax.xml.bind.JAXBElement getAnyElement( final String namespaceURI, final String localPart )
842 {
843 return this.getAnyElement( this.getAny(), namespaceURI, localPart );
844 }
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863 @Deprecated
864 public java.util.List<javax.xml.bind.JAXBElement> getAnyElements( final String namespaceURI,
865 final String localPart )
866 {
867 return this.getAnyElements( this.getAny(), namespaceURI, localPart );
868 }
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889 public <T> javax.xml.bind.JAXBElement<T> getAnyElement( final String namespaceURI, final String localPart,
890 final Class<T> type )
891 {
892 return this.getAnyElement( this.getAny(), namespaceURI, localPart, type );
893 }
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913 public <T> java.util.List<javax.xml.bind.JAXBElement<T>> getAnyElements( final String namespaceURI,
914 final String localPart,
915 final Class<T> type )
916 {
917 return this.getAnyElements( this.getAny(), namespaceURI, localPart, type );
918 }
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934 public <T> T getAnyObject( final Class<T> clazz )
935 {
936 return this.getAnyObject( this.getAny(), clazz );
937 }
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952 public <T> java.util.List<T> getAnyObjects( final Class<T> clazz )
953 {
954 return this.getAnyObjects( this.getAny(), clazz );
955 }
956
957 }