1 57 58 package com.sun.org.apache.xerces.internal.xs; 59 60 import org.w3c.dom.TypeInfo ; 61 62 66 public interface XSTypeDefinition extends XSObject, TypeInfo { 67 70 public static final short COMPLEX_TYPE = 13; 71 74 public static final short SIMPLE_TYPE = 14; 75 78 public short getTypeCategory(); 79 80 84 public XSTypeDefinition getBaseType(); 85 86 94 public boolean isFinal(short restriction); 95 96 106 public short getFinal(); 107 108 112 public boolean getAnonymous(); 113 114 126 public boolean derivedFromType(XSTypeDefinition ancestorType, 127 short derivationMethod); 128 129 142 public boolean derivedFrom(String namespace, 143 String name, 144 short derivationMethod); 145 146 } 147 | Popular Tags |