Package pyxb :: Package binding :: Module datatypes :: Class normalizedString |
[hide private]
[frames] | no frames]

# type normalizedString

source code

                        object --+
                                 |
                           cscRoot --+
                                     |
         utils.utility.Locatable_mixin --+
                                         |
                  basis._TypeBinding_mixin --+
                                             |
                                object --+   |
                                         |   |
    utils.utility._DeconflictSymbols_mixin --+
                                             |
                            object --+       |
                                     |       |
                               cscRoot --+   |
                                         |   |
                basis._DynamicCreate_mixin --+
                                             |
                    basis.simpleTypeDefinition --+
                                                 |
                                object --+       |
                                         |       |
                                basestring --+   |
                                             |   |
                                       unicode --+
                                                 |
                                            string --+
                                                     |
                                                    normalizedString

Known Subclasses:
  - token

XMLSchema datatype normalizedString.

Normalized strings can't have carriage returns, linefeeds, or tabs in them.

Nested Classes | [hide private]
Inherited from `string` (private): `_XsdBaseType`

Instance Methods | [hide private]
Inherited from `basis.simpleTypeDefinition`: `__init__`, `pythonLiteral`, `xsdConstraintsOK`, `xsdLiteral`, `xsdValueLength` Inherited from `basis.simpleTypeDefinition` (private): `_checkValidValue`, `_isValidValue`, `_setAttribute`, `_toDOM_csc`, `_validateBinding_vx` Inherited from `basis._TypeBinding_mixin`: `__setattr__`, `toDOM`, `toxml`, `validateBinding` Inherited from `basis._TypeBinding_mixin` (private): `_TypeBinding_mixin__checkNilCtor`, `_TypeBinding_mixin__getValidationConfig`, `_constructedWithValue`, `_diagnosticName`, `_element`, `_finalizeContentModel`, `_isNil`, `_namespaceContext`, `_performValidation`, `_postDOMValidate`, `_postFactory_vx`, `_resetContent`, `_setAttributesFromKeywordsAndDOM`, `_setElement`, `_setIsNil`, `_setNamespaceContext`, `_setValidationConfig`, `_substitutesFor` Inherited from `utils.utility.Locatable_mixin` (private): `_location`, `_setLocation` Inherited from `unicode`: `__add__`, `__contains__`, `__eq__`, `__format__`, `__ge__`, `__getattribute__`, `__getitem__`, `__getnewargs__`, `__getslice__`, `__gt__`, `__hash__`, `__le__`, `__len__`, `__lt__`, `__mod__`, `__mul__`, `__ne__`, `__repr__`, `__rmod__`, `__rmul__`, `__sizeof__`, `__str__`, `capitalize`, `center`, `count`, `decode`, `encode`, `endswith`, `expandtabs`, `find`, `format`, `index`, `isalnum`, `isalpha`, `isdecimal`, `isdigit`, `islower`, `isnumeric`, `isspace`, `istitle`, `isupper`, `join`, `ljust`, `lower`, `lstrip`, `partition`, `replace`, `rfind`, `rindex`, `rjust`, `rpartition`, `rsplit`, `rstrip`, `split`, `splitlines`, `startswith`, `strip`, `swapcase`, `title`, `translate`, `upper`, `zfill` Inherited from `unicode` (private): `_formatter_field_name_split`, `_formatter_parser`

Class Methods | [hide private]
__ValidateString(cls, value) | source code
_ValidateString_va(cls, value) Post-extended method to validate that a string matches a given pattern. | source code
_XsdConstraintsPreCheck_vb(cls, value) Pre-extended class method to verify other things before checking constraints. | source code
Inherited from `string`: `XsdLiteral`, `XsdValueLength` Inherited from `basis.simpleTypeDefinition`: `PythonLiteral`, `SimpleTypeDefinition`, `XsdConstraintsOK`, `XsdSuperType` Inherited from `basis.simpleTypeDefinition` (private): `_CheckValidValue`, `_ConvertArguments`, `_ConvertArguments_vx`, `_FacetMap`, `_InitializeFacetMap`, `_IsSimpleTypeContent`, `_IsValidValue`, `_SimpleTypeDefinition`, `_description` Inherited from `basis._TypeBinding_mixin`: `Factory` Inherited from `basis._TypeBinding_mixin` (private): `_CompatibleValue`, `_GetValidationConfig`, `_IsUrType`, `_Name`, `_PerformValidation`, `_PreFactory_vx`, `_RequireXSIType`, `_SetValidationConfig`, `_TypeBinding_mixin__AttributesFromDOM` Inherited from `basis._DynamicCreate_mixin` (private): `_AlternativeConstructor`, `_DynamicCreate`, `_DynamicCreate_mixin__AlternativeConstructorAttribute`, `_DynamicCreate_mixin__SupersedingClassAttribute`, `_SetAlternativeConstructor`, `_SetSupersedingClass`, `_SupersedingClass`

Static Methods | [hide private]
Inherited from `basis.simpleTypeDefinition`: `__new__`

Class Variables | [hide private]
| _ExpandedName = `pyxb.namespace.XMLSchema.createExpandedName('n`...`` The expanded name of the component.
| __BadChars = `re.compile(r'`[`\r\n\t`]`')`
| _ValidRE = `None`
| _InvalidRE = `None`
| _CF_whiteSpace = `<pyxb.binding.facets.CF_whiteSpace object at `...``
| __SimpleTypeDefinition = `<pyxb.xmlschema.structures.SimpleType`...``
| _httpwww_w3_org2001XMLSchema_normalizedString_FacetMap = ``{`<cla`...``
Inherited from `string` (private): `_CF_enumeration`, `_CF_length`, `_CF_maxLength`, `_CF_minLength`, `_CF_pattern`, `_httpwww_w3_org2001XMLSchema_string_FacetMap` Inherited from `basis.simpleTypeDefinition` (private): `_ReservedSymbols` Inherited from `basis._TypeBinding_mixin`: `_validationConfig_` Inherited from `basis._TypeBinding_mixin` (private): `_Abstract`, `_AttributeMap`, `_AttributeWildcard`, `_PyXBFactoryKeywords`, `_TypeBinding_mixin__WarnedUnassociatedElement`, `_TypeBinding_mixin__constructedWithValue`, `_TypeBinding_mixin__element`, `_TypeBinding_mixin__namespaceContext`, `_TypeBinding_mixin__xsiNil`, `_XSDLocation`

Properties | [hide private]
Inherited from `basis._TypeBinding_mixin` (private): `_validationConfig`

Method Details | [hide private]

### _ValidateString_va(cls, value) Class Method | source code
Post-extended method to validate that a string matches a given pattern. If you can express the valid strings as a compiled regular expression in the class variable _ValidRE, or the invalid strings as a compiled regular expression in the class variable _InvalidRE, you can just use those. If the acceptable matches are any trickier, you should invoke the superclass implementation, and if it returns True then perform additional tests.

### _XsdConstraintsPreCheck_vb(cls, value) Class Method | source code
Pre-extended class method to verify other things before checking constraints. This is used for list types, to verify that the values in the list are acceptable, and for token descendents, to check the lexical/value space conformance of the input. Overrides: basis.simpleTypeDefinition._XsdConstraintsPreCheck_vb (inherited documentation)

Class Variable Details | [hide private]

  ### _ExpandedName The expanded name of the component. Value:
      pyxb.namespace.XMLSchema.createExpandedName('normalizedString')

  ### _CF_whiteSpace Value:
      <pyxb.binding.facets.CF_whiteSpace object at 0x2447090>

  ### __SimpleTypeDefinition Value:
      <pyxb.xmlschema.structures.SimpleTypeDefinition object at 0x288d990>

  ### _httpwww_w3_org2001XMLSchema_normalizedString_FacetMap Value:
      {<class 'pyxb.binding.facets.CF_whiteSpace'>: <pyxb.binding.facets.CF_
      whiteSpace object at 0x2447090>}