001: /**
002: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
003: */package com.tc.config.schema;
004:
005: import org.apache.xmlbeans.QNameSet;
006: import org.apache.xmlbeans.SchemaAnnotation;
007: import org.apache.xmlbeans.SchemaAttributeModel;
008: import org.apache.xmlbeans.SchemaComponent;
009: import org.apache.xmlbeans.SchemaField;
010: import org.apache.xmlbeans.SchemaParticle;
011: import org.apache.xmlbeans.SchemaProperty;
012: import org.apache.xmlbeans.SchemaStringEnumEntry;
013: import org.apache.xmlbeans.SchemaType;
014: import org.apache.xmlbeans.SchemaTypeElementSequencer;
015: import org.apache.xmlbeans.SchemaTypeLoader;
016: import org.apache.xmlbeans.SchemaTypeSystem;
017: import org.apache.xmlbeans.StringEnumAbstractBase;
018: import org.apache.xmlbeans.XmlAnySimpleType;
019:
020: import com.tc.exception.ImplementMe;
021:
022: import javax.xml.namespace.QName;
023:
024: public class MockSchemaType implements SchemaType {
025:
026: public SchemaComponent.Ref getComponentRef() {
027: throw new ImplementMe();
028: }
029:
030: public int getComponentType() {
031: return 0;
032: }
033:
034: public String getSourceName() {
035: return null;
036: }
037:
038: public boolean blockExtension() {
039: return false;
040: }
041:
042: public boolean blockRestriction() {
043: return false;
044: }
045:
046: public SchemaStringEnumEntry enumEntryForString(String arg0) {
047: return null;
048: }
049:
050: public StringEnumAbstractBase enumForInt(int arg0) {
051: return null;
052: }
053:
054: public StringEnumAbstractBase enumForString(String arg0) {
055: return null;
056: }
057:
058: public boolean finalExtension() {
059: return false;
060: }
061:
062: public boolean finalList() {
063: return false;
064: }
065:
066: public boolean finalRestriction() {
067: return false;
068: }
069:
070: public boolean finalUnion() {
071: return false;
072: }
073:
074: public SchemaType[] getAnonymousTypes() {
075: return null;
076: }
077:
078: public int getAnonymousUnionMemberOrdinal() {
079: return 0;
080: }
081:
082: public SchemaAttributeModel getAttributeModel() {
083: return null;
084: }
085:
086: public SchemaProperty[] getAttributeProperties() {
087: return null;
088: }
089:
090: public SchemaProperty getAttributeProperty(QName arg0) {
091: return null;
092: }
093:
094: public SchemaType getAttributeType(QName arg0, SchemaTypeLoader arg1) {
095: return null;
096: }
097:
098: public QName getAttributeTypeAttributeName() {
099: return null;
100: }
101:
102: public SchemaType getBaseEnumType() {
103: return null;
104: }
105:
106: public SchemaType getBaseType() {
107: return null;
108: }
109:
110: public int getBuiltinTypeCode() {
111: return 0;
112: }
113:
114: public SchemaType getCommonBaseType(SchemaType arg0) {
115: return null;
116: }
117:
118: public SchemaField getContainerField() {
119: return null;
120: }
121:
122: public SchemaType getContentBasedOnType() {
123: return null;
124: }
125:
126: public SchemaParticle getContentModel() {
127: return null;
128: }
129:
130: public int getContentType() {
131: return 0;
132: }
133:
134: public int getDecimalSize() {
135: return 0;
136: }
137:
138: public int getDerivationType() {
139: return 0;
140: }
141:
142: public SchemaProperty[] getDerivedProperties() {
143: return null;
144: }
145:
146: public QName getDocumentElementName() {
147: return null;
148: }
149:
150: public SchemaProperty[] getElementProperties() {
151: return null;
152: }
153:
154: public SchemaProperty getElementProperty(QName arg0) {
155: return null;
156: }
157:
158: public SchemaTypeElementSequencer getElementSequencer() {
159: return null;
160: }
161:
162: public SchemaType getElementType(QName arg0, QName arg1,
163: SchemaTypeLoader arg2) {
164: return null;
165: }
166:
167: public XmlAnySimpleType[] getEnumerationValues() {
168: return null;
169: }
170:
171: public Class getEnumJavaClass() {
172: return null;
173: }
174:
175: public XmlAnySimpleType getFacet(int arg0) {
176: return null;
177: }
178:
179: public String getFullJavaImplName() {
180: return null;
181: }
182:
183: public String getFullJavaName() {
184: return null;
185: }
186:
187: public Class getJavaClass() {
188: return null;
189: }
190:
191: public SchemaType getListItemType() {
192: return null;
193: }
194:
195: public QName getName() {
196: return null;
197: }
198:
199: public SchemaType getOuterType() {
200: return null;
201: }
202:
203: public String[] getPatterns() {
204: return null;
205: }
206:
207: public SchemaType getPrimitiveType() {
208: return null;
209: }
210:
211: public SchemaProperty[] getProperties() {
212: return null;
213: }
214:
215: public org.apache.xmlbeans.SchemaType.Ref getRef() {
216: return null;
217: }
218:
219: public String getShortJavaImplName() {
220: return null;
221: }
222:
223: public String getShortJavaName() {
224: return null;
225: }
226:
227: public int getSimpleVariety() {
228: return 0;
229: }
230:
231: public SchemaStringEnumEntry[] getStringEnumEntries() {
232: return null;
233: }
234:
235: public SchemaTypeSystem getTypeSystem() {
236: return null;
237: }
238:
239: public SchemaType getUnionCommonBaseType() {
240: return null;
241: }
242:
243: public SchemaType[] getUnionConstituentTypes() {
244: return null;
245: }
246:
247: public SchemaType[] getUnionMemberTypes() {
248: return null;
249: }
250:
251: public SchemaType[] getUnionSubTypes() {
252: return null;
253: }
254:
255: public Object getUserData() {
256: return null;
257: }
258:
259: public int getWhiteSpaceRule() {
260: return 0;
261: }
262:
263: public boolean hasAllContent() {
264: return false;
265: }
266:
267: public boolean hasAttributeWildcards() {
268: return false;
269: }
270:
271: public boolean hasElementWildcards() {
272: return false;
273: }
274:
275: public boolean hasPatternFacet() {
276: return false;
277: }
278:
279: public boolean hasStringEnumValues() {
280: return false;
281: }
282:
283: public boolean isAbstract() {
284: return false;
285: }
286:
287: public boolean isAnonymousType() {
288: return false;
289: }
290:
291: public boolean isAssignableFrom(SchemaType arg0) {
292: return false;
293: }
294:
295: public boolean isAttributeType() {
296: return false;
297: }
298:
299: public boolean isBounded() {
300: return false;
301: }
302:
303: public boolean isBuiltinType() {
304: return false;
305: }
306:
307: public boolean isCompiled() {
308: return false;
309: }
310:
311: public boolean isDocumentType() {
312: return false;
313: }
314:
315: public boolean isFacetFixed(int arg0) {
316: return false;
317: }
318:
319: public boolean isFinite() {
320: return false;
321: }
322:
323: public boolean isNoType() {
324: return false;
325: }
326:
327: public boolean isNumeric() {
328: return false;
329: }
330:
331: public boolean isOrderSensitive() {
332: return false;
333: }
334:
335: public boolean isPrimitiveType() {
336: return false;
337: }
338:
339: public boolean isSimpleType() {
340: return false;
341: }
342:
343: public boolean isSkippedAnonymousType() {
344: return false;
345: }
346:
347: public boolean isURType() {
348: return false;
349: }
350:
351: public boolean isValidSubstitution(QName arg0) {
352: return false;
353: }
354:
355: public boolean matchPatternFacet(String arg0) {
356: return false;
357: }
358:
359: public XmlAnySimpleType newValue(Object arg0) {
360: return null;
361: }
362:
363: public int ordered() {
364: return 0;
365: }
366:
367: public QNameSet qnameSetForWildcardAttributes() {
368: return null;
369: }
370:
371: public QNameSet qnameSetForWildcardElements() {
372: return null;
373: }
374:
375: public SchemaAnnotation getAnnotation() {
376: return null;
377: }
378:
379: }
|