1 57 58 package com.sun.org.apache.xerces.internal.xs; 59 60 68 public interface XSSimpleTypeDefinition extends XSTypeDefinition { 69 73 public static final short VARIETY_ABSENT = 0; 74 77 public static final short VARIETY_ATOMIC = 1; 78 81 public static final short VARIETY_LIST = 2; 82 85 public static final short VARIETY_UNION = 3; 86 87 91 public static final short FACET_NONE = 0; 92 95 public static final short FACET_LENGTH = 1; 96 99 public static final short FACET_MINLENGTH = 2; 100 103 public static final short FACET_MAXLENGTH = 4; 104 107 public static final short FACET_PATTERN = 8; 108 111 public static final short FACET_WHITESPACE = 16; 112 115 public static final short FACET_MAXINCLUSIVE = 32; 116 119 public static final short FACET_MAXEXCLUSIVE = 64; 120 123 public static final short FACET_MINEXCLUSIVE = 128; 124 127 public static final short FACET_MININCLUSIVE = 256; 128 131 public static final short FACET_TOTALDIGITS = 512; 132 135 public static final short FACET_FRACTIONDIGITS = 1024; 136 139 public static final short FACET_ENUMERATION = 2048; 140 141 144 public static final short ORDERED_FALSE = 0; 145 149 public static final short ORDERED_PARTIAL = 1; 150 153 public static final short ORDERED_TOTAL = 2; 154 157 public short getVariety(); 158 159 164 public XSSimpleTypeDefinition getPrimitiveType(); 165 166 171 public short getBuiltInKind(); 172 173 178 public XSSimpleTypeDefinition getItemType(); 179 180 185 public XSObjectList getMemberTypes(); 186 187 191 public short getDefinedFacets(); 192 193 199 public boolean isDefinedFacet(short facetName); 200 201 204 public short getFixedFacets(); 205 206 212 public boolean isFixedFacet(short facetName); 213 214 226 public String getLexicalFacetValue(short facetName); 227 228 232 public StringList getLexicalEnumeration(); 233 234 238 public StringList getLexicalPattern(); 239 240 243 public short getOrdered(); 244 245 248 public boolean getFinite(); 249 250 253 public boolean getBounded(); 254 255 258 public boolean getNumeric(); 259 260 266 public XSObjectList getFacets(); 267 268 272 public XSObjectList getMultiValueFacets(); 273 274 278 public XSObjectList getAnnotations(); 279 280 } 281 | Popular Tags |