1 57 58 package com.sun.org.apache.xerces.internal.impl.xs.psvi; 59 60 64 public interface XSSimpleTypeDefinition extends XSTypeDefinition { 65 69 public static final short VARIETY_ABSENT = 0; 70 73 public static final short VARIETY_ATOMIC = 1; 74 77 public static final short VARIETY_LIST = 2; 78 81 public static final short VARIETY_UNION = 3; 82 83 87 public static final short FACET_NONE = 0; 88 91 public static final short FACET_LENGTH = 1; 92 95 public static final short FACET_MINLENGTH = 2; 96 99 public static final short FACET_MAXLENGTH = 4; 100 103 public static final short FACET_PATTERN = 8; 104 107 public static final short FACET_WHITESPACE = 16; 108 111 public static final short FACET_MAXINCLUSIVE = 32; 112 115 public static final short FACET_MAXEXCLUSIVE = 64; 116 119 public static final short FACET_MINEXCLUSIVE = 128; 120 123 public static final short FACET_MININCLUSIVE = 256; 124 127 public static final short FACET_TOTALDIGITS = 512; 128 131 public static final short FACET_FRACTIONDIGITS = 1024; 132 135 public static final short FACET_ENUMERATION = 2048; 136 137 140 public static final short ORDERED_FALSE = 0; 141 145 public static final short ORDERED_PARTIAL = 1; 146 149 public static final short ORDERED_TOTAL = 2; 150 153 public short getVariety(); 154 155 160 public XSSimpleTypeDefinition getPrimitiveType(); 161 162 167 public XSSimpleTypeDefinition getItemType(); 168 169 174 public XSObjectList getMemberTypes(); 175 176 180 public short getDefinedFacets(); 181 182 188 public boolean isDefinedFacet(short facetName); 189 190 193 public short getFixedFacets(); 194 195 201 public boolean isFixedFacet(short facetName); 202 203 214 public String getLexicalFacetValue(short facetName); 215 216 219 public StringList getLexicalEnumeration(); 220 221 224 public StringList getLexicalPattern(); 225 226 229 public short getOrdered(); 230 231 234 public boolean getFinite(); 235 236 239 public boolean getBounded(); 240 241 244 public boolean getNumeric(); 245 246 249 public XSObjectList getAnnotations(); 250 255 public XSObjectList getFacets(); 256 257 260 public XSObjectList getMultiValueFacets(); 261 262 } 263 | Popular Tags |