KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > xml > impl > XsTSimpleRestrictionTypeImpl


1 /*
2  * Copyright 2003, 2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15
16  */

17 package org.apache.ws.jaxme.xs.xml.impl;
18
19 import org.apache.ws.jaxme.xs.xml.*;
20 import org.xml.sax.SAXException JavaDoc;
21
22
23 /** <p>Implementation of <code>xs:simpleRestrictionType</code>,
24  * as specified by the following:
25  * <pre>
26  * &lt;xs:complexType name="simpleRestrictionType"&gt;
27  * &lt;xs:complexContent&gt;
28  * &lt;xs:restriction base="xs:restrictionType"&gt;
29  * &lt;xs:sequence&gt;
30  * &lt;xs:element ref="xs:annotation" minOccurs="0"/&gt;
31  * &lt;xs:group ref="xs:simpleRestrictionModel" minOccurs="0"/&gt;
32  * &lt;xs:group ref="xs:attrDecls"/&gt;
33  * &lt;/xs:sequence&gt;
34  * &lt;/xs:restriction&gt;
35  * &lt;/xs:complexContent&gt;
36  * &lt;/xs:complexType&gt;
37  * </pre></p>
38  *
39  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
40  */

41 public class XsTSimpleRestrictionTypeImpl extends XsTRestrictionTypeImpl
42     implements XsTSimpleRestrictionType {
43   private final XsGSimpleRestrictionModel impl;
44   private final XsGAttrDecls decls;
45
46   protected XsTSimpleRestrictionTypeImpl(XsObject pParent) {
47     super(pParent);
48     impl = getObjectFactory().newXsGSimpleRestrictionModel(this);
49     decls = getObjectFactory().newXsGAttrDecls(this);
50   }
51
52   public XsTLocalSimpleType createSimpleType() throws SAXException JavaDoc {
53     return impl.createSimpleType();
54   }
55
56   public XsTLocalSimpleType getSimpleType() {
57     return impl.getSimpleType();
58   }
59
60   public XsEMaxExclusive getMaxExclusive() {
61     return impl.getMaxExclusive();
62   }
63
64   public XsEMinExclusive createMinExclusive() throws SAXException JavaDoc {
65     return impl.getMinExclusive();
66   }
67
68   public XsEMinExclusive getMinExclusive() {
69     return impl.getMinExclusive();
70   }
71
72   public XsEMaxInclusive createMaxInclusive() throws SAXException JavaDoc {
73     return impl.createMaxInclusive();
74   }
75
76   public XsEMaxInclusive getMaxInclusive() {
77     return impl.getMaxInclusive();
78   }
79
80   public XsEMinInclusive createMinInclusive() throws SAXException JavaDoc {
81     return impl.createMinInclusive();
82   }
83
84   public XsEMinInclusive getMinInclusive() {
85     return impl.getMinInclusive();
86   }
87
88   public XsETotalDigits createTotalDigits() throws SAXException JavaDoc {
89     return impl.createTotalDigits();
90   }
91
92   public XsETotalDigits getTotalDigits() {
93     return impl.getTotalDigits();
94   }
95
96   public XsEFractionDigits createFractionDigits() throws SAXException JavaDoc {
97     return impl.createFractionDigits();
98   }
99
100   public XsEFractionDigits getFractionDigits() {
101     return impl.getFractionDigits();
102   }
103
104   public XsELength createLength() throws SAXException JavaDoc {
105     return impl.createLength();
106   }
107
108   public XsELength getLength() {
109     return impl.getLength();
110   }
111
112   public XsEMinLength createMinLength() throws SAXException JavaDoc {
113     return impl.createMinLength();
114   }
115
116   public XsEMinLength getMinLength() {
117     return impl.getMinLength();
118   }
119
120   public XsEMaxLength createMaxLength() throws SAXException JavaDoc {
121     return impl.createMaxLength();
122   }
123
124   public XsEMaxLength getMaxLength() {
125     return impl.getMaxLength();
126   }
127
128   public XsEWhiteSpace createWhiteSpace() throws SAXException JavaDoc {
129     return impl.createWhiteSpace();
130   }
131
132   public XsEWhiteSpace getWhiteSpace() {
133     return impl.getWhiteSpace();
134   }
135
136   public XsEPattern createPattern() throws SAXException JavaDoc {
137     return impl.createPattern();
138   }
139
140   public XsEPattern[] getPatterns() {
141     return impl.getPatterns();
142   }
143
144   public XsEEnumeration createEnumeration() throws SAXException JavaDoc {
145     return impl.createEnumeration();
146   }
147
148   public XsEEnumeration[] getEnumerations() {
149     return impl.getEnumerations();
150   }
151
152   public boolean hasFacets() {
153     return impl.hasFacets();
154   }
155
156   public XsTFacetBase[] getFacets() {
157     return impl.getFacets();
158   }
159
160   public XsTAttribute createAttribute() {
161     return decls.createAttribute();
162   }
163
164   public XsTAttribute[] getAttributes() {
165     return decls.getAttributes();
166   }
167
168   public XsTAttributeGroupRef createAttributeGroup() {
169     return decls.createAttributeGroup();
170   }
171
172   public XsTAttributeGroupRef[] getAttributeGroups() {
173     return decls.getAttributeGroups();
174   }
175
176   public XsTWildcard createAnyAttribute() {
177     return decls.createAnyAttribute();
178   }
179
180   public XsTWildcard getAnyAttribute() {
181     return decls.getAnyAttribute();
182   }
183
184   public Object JavaDoc[] getAllAttributes() {
185     return decls.getAllAttributes();
186   }
187 }
188
Popular Tags