1 16 17 package org.apache.xerces.xs; 18 19 22 public interface XSTypeDefinition extends XSObject { 23 26 public static final short COMPLEX_TYPE = 15; 27 30 public static final short SIMPLE_TYPE = 16; 31 34 public short getTypeCategory(); 35 36 40 public XSTypeDefinition getBaseType(); 41 42 51 public boolean isFinal(short restriction); 52 53 63 public short getFinal(); 64 65 69 public boolean getAnonymous(); 70 71 82 public boolean derivedFromType(XSTypeDefinition ancestorType, 83 short derivationMethod); 84 85 97 public boolean derivedFrom(String namespace, 98 String name, 99 short derivationMethod); 100 101 } 102 | Popular Tags |