1 /*
2  * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Distribution License v. 1.0, which is available at
6  * http://www.eclipse.org/org/documents/edl-v10.php.
7  *
8  * SPDX-License-Identifier: BSD-3-Clause
9  */

10
11 package com.sun.xml.bind.v2.model.annotation;
12
13 import java.lang.annotation.Annotation;
14 import javax.xml.bind.annotation.XmlType;
15
16
17 /**
18  * <p><b>Auto-generated, do not edit.</b></p>
19  * 
20  */

21 final class XmlTypeQuick
22     extends Quick
23     implements XmlType
24 {
25
26     private final XmlType core;
27
28     public XmlTypeQuick(Locatable upstream, XmlType core) {
29         super(upstream);
30         this.core = core;
31     }
32
33     protected Annotation getAnnotation() {
34         return core;
35     }
36
37     protected Quick newInstance(Locatable upstream, Annotation core) {
38         return new XmlTypeQuick(upstream, ((XmlType) core));
39     }
40
41     public Class<XmlType> annotationType() {
42         return XmlType.class;
43     }
44
45     public String name() {
46         return core.name();
47     }
48
49     public String namespace() {
50         return core.namespace();
51     }
52
53     public String[] propOrder() {
54         return core.propOrder();
55     }
56
57     public Class factoryClass() {
58         return core.factoryClass();
59     }
60
61     public String factoryMethod() {
62         return core.factoryMethod();
63     }
64
65 }
66