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.XmlNs;
15 import javax.xml.bind.annotation.XmlNsForm;
16 import javax.xml.bind.annotation.XmlSchema;
17
18
19 /**
20  * <p><b>Auto-generated, do not edit.</b></p>
21  * 
22  */

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