Home | Trees | Indices | Help |
|
---|
|
Utility functions and classes.
|
|||
_DeconflictSymbols_mixin Mix-in used to deconflict public symbols in classes that may be inherited by generated binding classes. |
|||
Graph Represent a directed graph with arbitrary objects as nodes. |
|||
UniqueIdentifier Records a unique identifier, generally associated with a binding generation action. |
|||
UTCOffsetTimeZone A datetime.tzinfo subclass that helps deal with UTC
conversions in an ISO8601 world.
|
|||
LocalTimeZone A datetime.tzinfo subclass for the local time zone.
|
|||
PrivateTransient_mixin Emulate the transient keyword from Java for private member variables. |
|||
_LocationBase Wrap a location. |
|||
Location | |||
Locatable_mixin |
|
|||
str
|
|
||
str
|
|
||
str
|
|
||
str
|
|
||
str
|
|
||
str
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
str
|
|
||
|
|
|||
_UnderscoreSubstitute_re = re.compile(r'
|
|||
_NonIdentifier_re = re.compile(r'
|
|||
_PrefixUnderscore_re = re.compile(r'^_
|
|||
_PrefixDigit_re = re.compile(r'^\d
|
|||
_CamelCase_re = re.compile(r'_\w')
|
|||
_PythonKeywords =
Python keywords. |
|||
_PythonBuiltInConstants =
Other symbols that aren't keywords but that can't be used. |
|||
_Keywords =
The keywords reserved for Python, derived from _PythonKeywords and _PythonBuiltInConstants. |
|||
__TabCRLF_re = re.compile(r'
|
|||
__MultiSpace_re = re.compile(r'
|
|||
LocationPrefixRewriteMap_ =
|
|||
__HaveUUID = True
|
|||
__package__ =
|
|
Convert a string into a literal value that can be used in Python source. This just calls
|
Convert a string into something suitable to be a Python identifier. The string is converted to unicode; spaces and periods replaced by underscores; non-printable/non-ASCII stripped. Furthermore, any leading underscores are removed. If the result begins with a digit, the character 'n' is prepended. If the result is the empty string, the string 'emptyString' is substituted. No check is made for conflicts with keywords.
|
If the provided string See also MakeUnique.
|
Return an identifier based on The returned identifier is made unique by appending an underscore and, if necessary, a serial number. The order is :
|
Combine everything required to create a unique identifier. Leading and trailing underscores are stripped from all identifiers.
Note: Only module-level identifiers should be treated as protected. The class-level _DeconflictSymbols_mixin infrastructure does not include protected symbols. All class and instance members beginning with a single underscore are reserved for the PyXB infrastructure. |
Normalize the given string. Exactly one of the
See the whiteSpace facet.
|
Normalize a URI against an optional parent_uri in the way that is done
for If no URI schema is present, this will normalize a file system path. Optionally, the resulting absolute URI can subsequently be rewritten to replace specified prefix strings with alternative strings, e.g. to convert a remote URI to a local repository. This rewriting is done after the conversion to an absolute URI, but before normalizing file system URIs.
|
Retrieve the contents of the uri as a text string. If the uri does not include a scheme (e.g., |
Return a file object used to write the given file. Use the To get a writable file but leaving any existing contents in place, set
the The returned file pointer is positioned at the end of the file.
|
Calculate a cryptographic hash of the given string. For example, this is used to verify that a given module file contains bindings from a previous generation run for the same namespace. See OpenOrCreate.
|
Obtain a UUID using the best available method. On a version of python
that does not incorporate the
|
Provide a list of absolute paths to files present in any of a set of directories and meeting certain criteria. This is used, for example, to locate namespace archive files within the archive path specified by the user. One could use: files = GetMatchingFiles('&bundles//:+', pattern=re.compile('.*\.wxs$'), default_path_wildcard='+', default_path='/usr/local/pyxb/nsarchives', prefix_pattern='&', prefix_substituend='/opt/pyxb') to obtain all files that can be recursively found within
|
|
_PythonKeywordsPython keywords. Note that types like int and float are not keywords.
|
_PythonBuiltInConstantsOther symbols that aren't keywords but that can't be used.
|
_KeywordsThe keywords reserved for Python, derived from _PythonKeywords and _PythonBuiltInConstants.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Sep 9 14:08:49 2011 | http://epydoc.sourceforge.net |