1 16 17 package org.apache.xerces.xs; 18 19 27 public interface XSSimpleTypeDefinition extends XSTypeDefinition { 28 32 public static final short VARIETY_ABSENT = 0; 33 36 public static final short VARIETY_ATOMIC = 1; 37 40 public static final short VARIETY_LIST = 2; 41 44 public static final short VARIETY_UNION = 3; 45 46 50 public static final short FACET_NONE = 0; 51 54 public static final short FACET_LENGTH = 1; 55 58 public static final short FACET_MINLENGTH = 2; 59 62 public static final short FACET_MAXLENGTH = 4; 63 66 public static final short FACET_PATTERN = 8; 67 70 public static final short FACET_WHITESPACE = 16; 71 74 public static final short FACET_MAXINCLUSIVE = 32; 75 78 public static final short FACET_MAXEXCLUSIVE = 64; 79 82 public static final short FACET_MINEXCLUSIVE = 128; 83 86 public static final short FACET_MININCLUSIVE = 256; 87 90 public static final short FACET_TOTALDIGITS = 512; 91 94 public static final short FACET_FRACTIONDIGITS = 1024; 95 98 public static final short FACET_ENUMERATION = 2048; 99 100 103 public static final short ORDERED_FALSE = 0; 104 108 public static final short ORDERED_PARTIAL = 1; 109 112 public static final short ORDERED_TOTAL = 2; 113 116 public short getVariety(); 117 118 123 public XSSimpleTypeDefinition getPrimitiveType(); 124 125 130 public short getBuiltInKind(); 131 132 137 public XSSimpleTypeDefinition getItemType(); 138 139 144 public XSObjectList getMemberTypes(); 145 146 150 public short getDefinedFacets(); 151 152 158 public boolean isDefinedFacet(short facetName); 159 160 163 public short getFixedFacets(); 164 165 171 public boolean isFixedFacet(short facetName); 172 173 185 public String getLexicalFacetValue(short facetName); 186 187 191 public StringList getLexicalEnumeration(); 192 193 197 public StringList getLexicalPattern(); 198 199 202 public short getOrdered(); 203 204 207 public boolean getFinite(); 208 209 212 public boolean getBounded(); 213 214 217 public boolean getNumeric(); 218 219 225 public XSObjectList getFacets(); 226 227 231 public XSObjectList getMultiValueFacets(); 232 233 237 public XSObjectList getAnnotations(); 238 239 } 240 | Popular Tags |