1 4 package com.tc.config.schema; 5 6 import org.apache.xmlbeans.QNameSet; 7 import org.apache.xmlbeans.SchemaAnnotation; 8 import org.apache.xmlbeans.SchemaAttributeModel; 9 import org.apache.xmlbeans.SchemaComponent; 10 import org.apache.xmlbeans.SchemaField; 11 import org.apache.xmlbeans.SchemaParticle; 12 import org.apache.xmlbeans.SchemaProperty; 13 import org.apache.xmlbeans.SchemaStringEnumEntry; 14 import org.apache.xmlbeans.SchemaType; 15 import org.apache.xmlbeans.SchemaTypeElementSequencer; 16 import org.apache.xmlbeans.SchemaTypeLoader; 17 import org.apache.xmlbeans.SchemaTypeSystem; 18 import org.apache.xmlbeans.StringEnumAbstractBase; 19 import org.apache.xmlbeans.XmlAnySimpleType; 20 21 import com.tc.exception.ImplementMe; 22 23 import javax.xml.namespace.QName ; 24 25 public class MockSchemaType implements SchemaType { 26 27 public SchemaComponent.Ref getComponentRef() { 28 throw new ImplementMe(); 29 } 30 31 public int getComponentType() { 32 return 0; 33 } 34 35 public String getSourceName() { 36 return null; 37 } 38 39 public boolean blockExtension() { 40 return false; 41 } 42 43 public boolean blockRestriction() { 44 return false; 45 } 46 47 public SchemaStringEnumEntry enumEntryForString(String arg0) { 48 return null; 49 } 50 51 public StringEnumAbstractBase enumForInt(int arg0) { 52 return null; 53 } 54 55 public StringEnumAbstractBase enumForString(String arg0) { 56 return null; 57 } 58 59 public boolean finalExtension() { 60 return false; 61 } 62 63 public boolean finalList() { 64 return false; 65 } 66 67 public boolean finalRestriction() { 68 return false; 69 } 70 71 public boolean finalUnion() { 72 return false; 73 } 74 75 public SchemaType[] getAnonymousTypes() { 76 return null; 77 } 78 79 public int getAnonymousUnionMemberOrdinal() { 80 return 0; 81 } 82 83 public SchemaAttributeModel getAttributeModel() { 84 return null; 85 } 86 87 public SchemaProperty[] getAttributeProperties() { 88 return null; 89 } 90 91 public SchemaProperty getAttributeProperty(QName arg0) { 92 return null; 93 } 94 95 public SchemaType getAttributeType(QName arg0, SchemaTypeLoader arg1) { 96 return null; 97 } 98 99 public QName getAttributeTypeAttributeName() { 100 return null; 101 } 102 103 public SchemaType getBaseEnumType() { 104 return null; 105 } 106 107 public SchemaType getBaseType() { 108 return null; 109 } 110 111 public int getBuiltinTypeCode() { 112 return 0; 113 } 114 115 public SchemaType getCommonBaseType(SchemaType arg0) { 116 return null; 117 } 118 119 public SchemaField getContainerField() { 120 return null; 121 } 122 123 public SchemaType getContentBasedOnType() { 124 return null; 125 } 126 127 public SchemaParticle getContentModel() { 128 return null; 129 } 130 131 public int getContentType() { 132 return 0; 133 } 134 135 public int getDecimalSize() { 136 return 0; 137 } 138 139 public int getDerivationType() { 140 return 0; 141 } 142 143 public SchemaProperty[] getDerivedProperties() { 144 return null; 145 } 146 147 public QName getDocumentElementName() { 148 return null; 149 } 150 151 public SchemaProperty[] getElementProperties() { 152 return null; 153 } 154 155 public SchemaProperty getElementProperty(QName arg0) { 156 return null; 157 } 158 159 public SchemaTypeElementSequencer getElementSequencer() { 160 return null; 161 } 162 163 public SchemaType getElementType(QName arg0, QName arg1, 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 } 380 | Popular Tags |