Package pyxb :: Package binding :: Module datatypes_facets
[hide private]
[frames] | no frames]

Source Code for Module pyxb.binding.datatypes_facets

  1  """Generated file that augments the standard schema L{datatype 
  2  definitions<pyxb.binding.datatypes>} with their respective 
  3  U{constraining facets<http://www.w3.org/TR/xmlschema-2/index.html#rf-facets>}.  At 
  4  one time, the C{maintainer/xsdfacet.py} script could be used to 
  5  generate this.  No idea if that's still true. 
  6  """ 
  7  import facets 
  8  from datatypes import * 
  9  gDay._CF_pattern = facets.CF_pattern() 
 10  gDay._CF_enumeration = facets.CF_enumeration(value_datatype=gDay) 
 11  gDay._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
 12  gDay._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
 13  gDay._CF_minInclusive = facets.CF_minInclusive(value_datatype=gDay) 
 14  gDay._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
 15  gDay._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=gDay) 
 16  gDay._InitializeFacetMap(gDay._CF_pattern, 
 17     gDay._CF_enumeration, 
 18     gDay._CF_minExclusive, 
 19     gDay._CF_whiteSpace, 
 20     gDay._CF_minInclusive, 
 21     gDay._CF_maxExclusive, 
 22     gDay._CF_maxInclusive) 
 23  gMonthDay._CF_pattern = facets.CF_pattern() 
 24  gMonthDay._CF_enumeration = facets.CF_enumeration(value_datatype=gMonthDay) 
 25  gMonthDay._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
 26  gMonthDay._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
 27  gMonthDay._CF_minInclusive = facets.CF_minInclusive(value_datatype=gMonthDay) 
 28  gMonthDay._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
 29  gMonthDay._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=gMonthDay) 
 30  gMonthDay._InitializeFacetMap(gMonthDay._CF_pattern, 
 31     gMonthDay._CF_enumeration, 
 32     gMonthDay._CF_minExclusive, 
 33     gMonthDay._CF_whiteSpace, 
 34     gMonthDay._CF_minInclusive, 
 35     gMonthDay._CF_maxExclusive, 
 36     gMonthDay._CF_maxInclusive) 
 37  gYearMonth._CF_pattern = facets.CF_pattern() 
 38  gYearMonth._CF_enumeration = facets.CF_enumeration(value_datatype=gYearMonth) 
 39  gYearMonth._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
 40  gYearMonth._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
 41  gYearMonth._CF_minInclusive = facets.CF_minInclusive(value_datatype=gYearMonth) 
 42  gYearMonth._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
 43  gYearMonth._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=gYearMonth) 
 44  gYearMonth._InitializeFacetMap(gYearMonth._CF_pattern, 
 45     gYearMonth._CF_enumeration, 
 46     gYearMonth._CF_minExclusive, 
 47     gYearMonth._CF_whiteSpace, 
 48     gYearMonth._CF_minInclusive, 
 49     gYearMonth._CF_maxExclusive, 
 50     gYearMonth._CF_maxInclusive) 
 51  ENTITIES._CF_minLength = facets.CF_minLength(value=nonNegativeInteger(1)) 
 52  ENTITIES._CF_maxLength = facets.CF_maxLength() 
 53  ENTITIES._CF_whiteSpace = facets.CF_whiteSpace() 
 54  ENTITIES._CF_length = facets.CF_length() 
 55  ENTITIES._CF_enumeration = facets.CF_enumeration(value_datatype=ENTITIES) 
 56  ENTITIES._CF_pattern = facets.CF_pattern() 
 57  ENTITIES._InitializeFacetMap(ENTITIES._CF_minLength, 
 58     ENTITIES._CF_maxLength, 
 59     ENTITIES._CF_whiteSpace, 
 60     ENTITIES._CF_length, 
 61     ENTITIES._CF_enumeration, 
 62     ENTITIES._CF_pattern) 
 63  IDREFS._CF_minLength = facets.CF_minLength(value=nonNegativeInteger(1)) 
 64  IDREFS._CF_maxLength = facets.CF_maxLength() 
 65  IDREFS._CF_whiteSpace = facets.CF_whiteSpace() 
 66  IDREFS._CF_length = facets.CF_length() 
 67  IDREFS._CF_enumeration = facets.CF_enumeration(value_datatype=IDREFS) 
 68  IDREFS._CF_pattern = facets.CF_pattern() 
 69  IDREFS._InitializeFacetMap(IDREFS._CF_minLength, 
 70     IDREFS._CF_maxLength, 
 71     IDREFS._CF_whiteSpace, 
 72     IDREFS._CF_length, 
 73     IDREFS._CF_enumeration, 
 74     IDREFS._CF_pattern) 
 75  time._CF_pattern = facets.CF_pattern() 
 76  time._CF_enumeration = facets.CF_enumeration(value_datatype=time) 
 77  time._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
 78  time._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
 79  time._CF_minInclusive = facets.CF_minInclusive(value_datatype=time) 
 80  time._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
 81  time._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=time) 
 82  time._InitializeFacetMap(time._CF_pattern, 
 83     time._CF_enumeration, 
 84     time._CF_minExclusive, 
 85     time._CF_whiteSpace, 
 86     time._CF_minInclusive, 
 87     time._CF_maxExclusive, 
 88     time._CF_maxInclusive) 
 89  date._CF_pattern = facets.CF_pattern() 
 90  date._CF_enumeration = facets.CF_enumeration(value_datatype=date) 
 91  date._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
 92  date._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
 93  date._CF_minInclusive = facets.CF_minInclusive(value_datatype=date) 
 94  date._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
 95  date._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=date) 
 96  date._InitializeFacetMap(date._CF_pattern, 
 97     date._CF_enumeration, 
 98     date._CF_minExclusive, 
 99     date._CF_whiteSpace, 
100     date._CF_minInclusive, 
101     date._CF_maxExclusive, 
102     date._CF_maxInclusive) 
103  NMTOKENS._CF_minLength = facets.CF_minLength(value=nonNegativeInteger(1)) 
104  NMTOKENS._CF_maxLength = facets.CF_maxLength() 
105  NMTOKENS._CF_whiteSpace = facets.CF_whiteSpace() 
106  NMTOKENS._CF_length = facets.CF_length() 
107  NMTOKENS._CF_enumeration = facets.CF_enumeration(value_datatype=NMTOKENS) 
108  NMTOKENS._CF_pattern = facets.CF_pattern() 
109  NMTOKENS._InitializeFacetMap(NMTOKENS._CF_minLength, 
110     NMTOKENS._CF_maxLength, 
111     NMTOKENS._CF_whiteSpace, 
112     NMTOKENS._CF_length, 
113     NMTOKENS._CF_enumeration, 
114     NMTOKENS._CF_pattern) 
115  duration._CF_pattern = facets.CF_pattern() 
116  duration._CF_enumeration = facets.CF_enumeration(value_datatype=duration) 
117  duration._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
118  duration._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
119  duration._CF_minInclusive = facets.CF_minInclusive(value_datatype=duration) 
120  duration._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
121  duration._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=duration) 
122  duration._InitializeFacetMap(duration._CF_pattern, 
123     duration._CF_enumeration, 
124     duration._CF_minExclusive, 
125     duration._CF_whiteSpace, 
126     duration._CF_minInclusive, 
127     duration._CF_maxExclusive, 
128     duration._CF_maxInclusive) 
129  gMonth._CF_pattern = facets.CF_pattern() 
130  gMonth._CF_enumeration = facets.CF_enumeration(value_datatype=gMonth) 
131  gMonth._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
132  gMonth._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
133  gMonth._CF_minInclusive = facets.CF_minInclusive(value_datatype=gMonth) 
134  gMonth._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
135  gMonth._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=gMonth) 
136  gMonth._InitializeFacetMap(gMonth._CF_pattern, 
137     gMonth._CF_enumeration, 
138     gMonth._CF_minExclusive, 
139     gMonth._CF_whiteSpace, 
140     gMonth._CF_minInclusive, 
141     gMonth._CF_maxExclusive, 
142     gMonth._CF_maxInclusive) 
143  hexBinary._CF_minLength = facets.CF_minLength() 
144  hexBinary._CF_maxLength = facets.CF_maxLength() 
145  hexBinary._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
146  hexBinary._CF_length = facets.CF_length() 
147  hexBinary._CF_enumeration = facets.CF_enumeration(value_datatype=hexBinary) 
148  hexBinary._CF_pattern = facets.CF_pattern() 
149  hexBinary._InitializeFacetMap(hexBinary._CF_minLength, 
150     hexBinary._CF_maxLength, 
151     hexBinary._CF_whiteSpace, 
152     hexBinary._CF_length, 
153     hexBinary._CF_enumeration, 
154     hexBinary._CF_pattern) 
155  double._CF_pattern = facets.CF_pattern() 
156  double._CF_enumeration = facets.CF_enumeration(value_datatype=double) 
157  double._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
158  double._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
159  double._CF_minInclusive = facets.CF_minInclusive(value_datatype=double) 
160  double._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
161  double._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=double) 
162  double._InitializeFacetMap(double._CF_pattern, 
163     double._CF_enumeration, 
164     double._CF_minExclusive, 
165     double._CF_whiteSpace, 
166     double._CF_minInclusive, 
167     double._CF_maxExclusive, 
168     double._CF_maxInclusive) 
169  QName._CF_minLength = facets.CF_minLength() 
170  QName._CF_maxLength = facets.CF_maxLength() 
171  QName._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
172  QName._CF_length = facets.CF_length() 
173  QName._CF_enumeration = facets.CF_enumeration(value_datatype=QName) 
174  QName._CF_pattern = facets.CF_pattern() 
175  QName._InitializeFacetMap(QName._CF_minLength, 
176     QName._CF_maxLength, 
177     QName._CF_whiteSpace, 
178     QName._CF_length, 
179     QName._CF_enumeration, 
180     QName._CF_pattern) 
181  NOTATION._CF_minLength = facets.CF_minLength() 
182  NOTATION._CF_maxLength = facets.CF_maxLength() 
183  NOTATION._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
184  NOTATION._CF_length = facets.CF_length() 
185  NOTATION._CF_enumeration = facets.CF_enumeration(value_datatype=NOTATION) 
186  NOTATION._CF_pattern = facets.CF_pattern() 
187  NOTATION._InitializeFacetMap(NOTATION._CF_minLength, 
188     NOTATION._CF_maxLength, 
189     NOTATION._CF_whiteSpace, 
190     NOTATION._CF_length, 
191     NOTATION._CF_enumeration, 
192     NOTATION._CF_pattern) 
193  decimal._CF_fractionDigits = facets.CF_fractionDigits() 
194  decimal._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=decimal) 
195  decimal._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
196  decimal._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
197  decimal._CF_totalDigits = facets.CF_totalDigits() 
198  decimal._CF_enumeration = facets.CF_enumeration(value_datatype=decimal) 
199  decimal._CF_minInclusive = facets.CF_minInclusive(value_datatype=decimal) 
200  decimal._CF_pattern = facets.CF_pattern() 
201  decimal._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
202  decimal._InitializeFacetMap(decimal._CF_fractionDigits, 
203     decimal._CF_maxInclusive, 
204     decimal._CF_minExclusive, 
205     decimal._CF_whiteSpace, 
206     decimal._CF_totalDigits, 
207     decimal._CF_enumeration, 
208     decimal._CF_minInclusive, 
209     decimal._CF_pattern, 
210     decimal._CF_maxExclusive) 
211  gYear._CF_pattern = facets.CF_pattern() 
212  gYear._CF_enumeration = facets.CF_enumeration(value_datatype=gYear) 
213  gYear._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
214  gYear._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
215  gYear._CF_minInclusive = facets.CF_minInclusive(value_datatype=gYear) 
216  gYear._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
217  gYear._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=gYear) 
218  gYear._InitializeFacetMap(gYear._CF_pattern, 
219     gYear._CF_enumeration, 
220     gYear._CF_minExclusive, 
221     gYear._CF_whiteSpace, 
222     gYear._CF_minInclusive, 
223     gYear._CF_maxExclusive, 
224     gYear._CF_maxInclusive) 
225  boolean._CF_pattern = facets.CF_pattern() 
226  boolean._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
227  boolean._InitializeFacetMap(boolean._CF_pattern, 
228     boolean._CF_whiteSpace) 
229  base64Binary._CF_minLength = facets.CF_minLength() 
230  base64Binary._CF_maxLength = facets.CF_maxLength() 
231  base64Binary._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
232  base64Binary._CF_length = facets.CF_length() 
233  base64Binary._CF_enumeration = facets.CF_enumeration(value_datatype=base64Binary) 
234  base64Binary._CF_pattern = facets.CF_pattern() 
235  base64Binary._InitializeFacetMap(base64Binary._CF_minLength, 
236     base64Binary._CF_maxLength, 
237     base64Binary._CF_whiteSpace, 
238     base64Binary._CF_length, 
239     base64Binary._CF_enumeration, 
240     base64Binary._CF_pattern) 
241  float._CF_pattern = facets.CF_pattern() 
242  float._CF_enumeration = facets.CF_enumeration(value_datatype=float) 
243  float._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
244  float._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
245  float._CF_minInclusive = facets.CF_minInclusive(value_datatype=float) 
246  float._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
247  float._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=float) 
248  float._InitializeFacetMap(float._CF_pattern, 
249     float._CF_enumeration, 
250     float._CF_minExclusive, 
251     float._CF_whiteSpace, 
252     float._CF_minInclusive, 
253     float._CF_maxExclusive, 
254     float._CF_maxInclusive) 
255  anyURI._CF_minLength = facets.CF_minLength() 
256  anyURI._CF_maxLength = facets.CF_maxLength() 
257  anyURI._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
258  anyURI._CF_length = facets.CF_length() 
259  anyURI._CF_enumeration = facets.CF_enumeration(value_datatype=anyURI) 
260  anyURI._CF_pattern = facets.CF_pattern() 
261  anyURI._InitializeFacetMap(anyURI._CF_minLength, 
262     anyURI._CF_maxLength, 
263     anyURI._CF_whiteSpace, 
264     anyURI._CF_length, 
265     anyURI._CF_enumeration, 
266     anyURI._CF_pattern) 
267  string._CF_minLength = facets.CF_minLength() 
268  string._CF_maxLength = facets.CF_maxLength() 
269  string._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.preserve) 
270  string._CF_length = facets.CF_length() 
271  string._CF_enumeration = facets.CF_enumeration(value_datatype=string) 
272  string._CF_pattern = facets.CF_pattern() 
273  string._InitializeFacetMap(string._CF_minLength, 
274     string._CF_maxLength, 
275     string._CF_whiteSpace, 
276     string._CF_length, 
277     string._CF_enumeration, 
278     string._CF_pattern) 
279  dateTime._CF_pattern = facets.CF_pattern() 
280  dateTime._CF_enumeration = facets.CF_enumeration(value_datatype=dateTime) 
281  dateTime._CF_minExclusive = facets.CF_minExclusive(value_datatype=anySimpleType) 
282  dateTime._CF_whiteSpace = facets.CF_whiteSpace(value=facets._WhiteSpace_enum.collapse) 
283  dateTime._CF_minInclusive = facets.CF_minInclusive(value_datatype=dateTime) 
284  dateTime._CF_maxExclusive = facets.CF_maxExclusive(value_datatype=anySimpleType) 
285  dateTime._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=dateTime) 
286  dateTime._InitializeFacetMap(dateTime._CF_pattern, 
287     dateTime._CF_enumeration, 
288     dateTime._CF_minExclusive, 
289     dateTime._CF_whiteSpace, 
290     dateTime._CF_minInclusive, 
291     dateTime._CF_maxExclusive, 
292     dateTime._CF_maxInclusive) 
293  normalizedString._CF_whiteSpace = facets.CF_whiteSpace(super_facet=string._CF_whiteSpace, value=facets._WhiteSpace_enum.replace) 
294  normalizedString._InitializeFacetMap(normalizedString._CF_whiteSpace) 
295  integer._CF_fractionDigits = facets.CF_fractionDigits(value=nonNegativeInteger(0)) 
296  integer._CF_pattern = facets.CF_pattern() 
297  integer._CF_pattern.addPattern(pattern=u'[\\-+]?[0-9]+') 
298  integer._InitializeFacetMap(integer._CF_fractionDigits, 
299     integer._CF_pattern) 
300  nonPositiveInteger._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=nonPositiveInteger, value=nonPositiveInteger(0)) 
301  nonPositiveInteger._InitializeFacetMap(nonPositiveInteger._CF_maxInclusive) 
302  token._CF_whiteSpace = facets.CF_whiteSpace(super_facet=normalizedString._CF_whiteSpace, value=facets._WhiteSpace_enum.collapse) 
303  token._InitializeFacetMap(token._CF_whiteSpace) 
304  nonNegativeInteger._CF_minInclusive = facets.CF_minInclusive(value_datatype=nonNegativeInteger, value=nonNegativeInteger(0)) 
305  nonNegativeInteger._InitializeFacetMap(nonNegativeInteger._CF_minInclusive) 
306  long._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=long, value=long(9223372036854775807)) 
307  long._CF_minInclusive = facets.CF_minInclusive(value_datatype=long, value=long(-9223372036854775808)) 
308  long._InitializeFacetMap(long._CF_maxInclusive, 
309     long._CF_minInclusive) 
310  negativeInteger._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=negativeInteger, super_facet=nonPositiveInteger._CF_maxInclusive, value=negativeInteger(-1)) 
311  negativeInteger._InitializeFacetMap(negativeInteger._CF_maxInclusive) 
312  Name._CF_pattern = facets.CF_pattern() 
313  Name._CF_pattern.addPattern(pattern=u'\\i\\c*') 
314  Name._InitializeFacetMap(Name._CF_pattern) 
315  NMTOKEN._CF_pattern = facets.CF_pattern() 
316  NMTOKEN._CF_pattern.addPattern(pattern=u'\\c+') 
317  NMTOKEN._InitializeFacetMap(NMTOKEN._CF_pattern) 
318  positiveInteger._CF_minInclusive = facets.CF_minInclusive(value_datatype=positiveInteger, super_facet=nonNegativeInteger._CF_minInclusive, value=positiveInteger(1)) 
319  positiveInteger._InitializeFacetMap(positiveInteger._CF_minInclusive) 
320  language._CF_pattern = facets.CF_pattern() 
321  language._CF_pattern.addPattern(pattern=u'[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*') 
322  language._InitializeFacetMap(language._CF_pattern) 
323  unsignedLong._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=unsignedLong, value=unsignedLong(18446744073709551615)) 
324  unsignedLong._InitializeFacetMap(unsignedLong._CF_maxInclusive) 
325  int._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=int, super_facet=long._CF_maxInclusive, value=int(2147483647)) 
326  int._CF_minInclusive = facets.CF_minInclusive(value_datatype=int, super_facet=long._CF_minInclusive, value=int(-2147483648)) 
327  int._InitializeFacetMap(int._CF_maxInclusive, 
328     int._CF_minInclusive) 
329  NCName._CF_pattern = facets.CF_pattern(super_facet=Name._CF_pattern) 
330  NCName._CF_pattern.addPattern(pattern=u'[\\i-[:]][\\c-[:]]*') 
331  NCName._InitializeFacetMap(NCName._CF_pattern) 
332  unsignedInt._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=unsignedInt, super_facet=unsignedLong._CF_maxInclusive, value=unsignedInt(4294967295)) 
333  unsignedInt._InitializeFacetMap(unsignedInt._CF_maxInclusive) 
334  short._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=short, super_facet=int._CF_maxInclusive, value=short(32767)) 
335  short._CF_minInclusive = facets.CF_minInclusive(value_datatype=short, super_facet=int._CF_minInclusive, value=short(-32768)) 
336  short._InitializeFacetMap(short._CF_maxInclusive, 
337     short._CF_minInclusive) 
338  ENTITY._InitializeFacetMap() 
339  IDREF._InitializeFacetMap() 
340  ID._InitializeFacetMap() 
341  unsignedShort._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=unsignedShort, super_facet=unsignedInt._CF_maxInclusive, value=unsignedShort(65535)) 
342  unsignedShort._InitializeFacetMap(unsignedShort._CF_maxInclusive) 
343  byte._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=byte, super_facet=short._CF_maxInclusive, value=byte(127)) 
344  byte._CF_minInclusive = facets.CF_minInclusive(value_datatype=byte, super_facet=short._CF_minInclusive, value=byte(-128)) 
345  byte._InitializeFacetMap(byte._CF_maxInclusive, 
346     byte._CF_minInclusive) 
347  unsignedByte._CF_maxInclusive = facets.CF_maxInclusive(value_datatype=unsignedByte, super_facet=unsignedShort._CF_maxInclusive, value=unsignedByte(255)) 
348  unsignedByte._InitializeFacetMap(unsignedByte._CF_maxInclusive) 
349