Home | Trees | Indices | Help |
|
---|
|
object --+ | Generator
Configuration and data for a single binding-generation action.
|
|||
str
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
set
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
str
|
|
||
|
|||
str
|
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
_DEFAULT_bindingRoot =
|
|||
__bindingRoot = None hash(x) |
|||
__generateToFiles = None hash(x) |
|||
__schemaRoot = None hash(x) |
|||
__schemaStrippedPrefix = None hash(x) |
|||
__locationPrefixMap =
|
|||
__schemaLocationList = None hash(x) |
|||
__schemas = None hash(x) |
|||
__namespaces = None hash(x) |
|||
__moduleList = None hash(x) |
|||
__modulePrefix = None hash(x) |
|||
__namespaceModuleMap = None hash(x) |
|||
__archivePath = None hash(x) |
|||
__noloadNamespaces = None hash(x) |
|||
__preLoadArchives = None hash(x) |
|||
__archiveToFile = None hash(x) |
|||
__namespaceVisibilityMap = None hash(x) |
|||
__defaultNamespacePublic = None hash(x) |
|||
__validateChanges = None hash(x) |
|||
__writeForCustomization = None hash(x) |
|||
__allowAbsentModule = None hash(x) |
|||
__allowBuiltinGeneration = None hash(x) |
|||
__uriContentArchiveDirectory = None hash(x) |
|||
__loggingConfigFile = None hash(x) |
|||
__stripSpaces_re = re.compile(r'\s\s\s
|
|||
__OptionSetters = 'binding_root', setBindingRoot, ('schema_roo
|
|||
__generationUID = None hash(x) |
|||
__optionParser = None hash(x) |
|||
__didResolveExternalSchema = False
|
|||
__moduleRecords = None hash(x) |
|||
__componentGraph = None hash(x) |
|||
__componentOrder = None hash(x) |
|||
__bindingModules = None hash(x) |
|
|||
Inherited from |
|
Optional string that is stripped from the beginning of schemaLocation values before loading from them. This applies only to the values of schemaLocation attributes in
|
Optional map to rewrite schema locations. This applies only to the values of schemaLocation attributes in
|
Add a rewrite entry for schema locations.
|
Add a rewrite entry for schema locations. Parameter values are strings of the form |
A list of locations from which entrypoint schemas are to be read. The values in the list are either URIs, or tuples consisting of a value and a callable which, when passed the generator object and the value, will return a pyxb.xmlschema.structures.Schema instance. See addSchemaLocation. See also addSchemaLocation and schemas. |
Add the location of an entrypoint schema.
Note:
The |
Add the location of an entrypoint schema. The provided value should
be a URL; if it does not have a URL scheme (e.g., |
Schema for which bindings should be generated. These may be Schema instances, or strings; the latter is preferred, and is parsed into a Schema instance when required. This is the list of entrypoint schemas for binding generation. Values in schemaLocationList are read and converted into schema, then appended to this list. Values from moduleList are applied starting with the first schema in this list. |
The set of namespaces for which bindings will be generated. This is the set of namespaces read from entrypoint schema, closed under reference to namespaces defined by schema import.
|
Add a module name corresponding to an entrypoint schema. The namespace defined by the corresponding schema will be written to a binding using the given module name, adjusted by modulePrefix. |
The prefix for binding modules. The base name for the module holding a binding is taken from the moduleList, moduleMap, or an XMLNS prefix associated with the namespace in a containing schema. This value, if present, is used as a prefix to allow a deeper module hierarchy. |
A map from namespace URIs to the module to be used for the corresponding generated binding. Module values are adjusted by modulePrefix if that has been specified. An entry in this map for a namespace supersedes the module specified in moduleList if the namespace is defined by an entrypoint schema.
|
A colon-separated list of paths from which namespace archives can be read. The default path is the contents of the |
Record the set of namespaces that should not be loaded from an archive. The expectation is that any required entities in the namespace will be defined by loading schema. |
Mark that the specified namespace should not be loaded from an archive. Use this when you are generating bindings for an application that has a restricted profile of a namespace that would otherwise be read from an archive. Be aware that this removes any knowledge of any archive in which this namespace is present as a non-private member. |
Name of a file containing a stored archive from which namespaces should be read prior to processing schema. Files to be pre-loaded are not affected by
|
Optional file into which the archive of namespaces will be written. Subsequent generation actions can read pre-parsed namespaces from this file, and therefore reference the bindings that were built earlier rather than re-generating them. The file name should normally end with |
Indicates whether unmentioned namespaces will be public or private (default) in the archive. A namespace is mentioned if it is the target namespace of an entrypoint schema, or appears in a namespace visibility specification. I.e., this default applies only to namespaces that are modified as a result of including some schema, which is generally a local customization of something. |
Indicates whether the binding Python code should be written into a sub-module for customization. If enabled, a module |
Indicates whether the code generator is permitted to process namespace for which no module path can be determined. Use this only when generating bindings that will not be referenced by other bindings. |
Indicates whether bindings will be written for namespaces that are built-in to PyXB. This must be enabled when building bindings for the XML, XMLSchema instance, and other built-in namespaces. Normally generation of these namespaces is inhibited lest it produce inconsistencies. |
The directory path into which any content retrieved by URI will be written. This serves as a local cache, and to give you an opportunity to inspect material retrieved from some other system.
|
A file provided to In the absence of other configuration the Python standard logging infrastructure is used in its default configuration.
|
Create a configuration to be used for generating bindings. Arguments are treated as additions to the schema location list after all keywords have been processed.
|
A unique identifier associated with this Generator instance. This is an instance of pyxb.utils.utility.UniqueIdentifier. Its associated objects are pyxb.namespace.archive._SchemaOrigin instances, which identify schema that contribute to the definition of a namespace. |
Return an
|
Return a command line option sequence that could be used to construct an equivalent configuration. Note:
If you extend the option parser, as is done by
|
Provide a Python module path for the module record. This is the path by which the module bindings associated with
If a path had already been assigned to the module, it is left in place.
|
The set of pyxb.namespace.archive.ModuleRecord instances associated with schema processed in this generation instance. These should be in one-to-one correspondence with the namespaces for which bindings are being generated. Multiple input schemas may contribute to a single module record; all material in that record is placed in a single binding file. |
|
__OptionSetters
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 17 03:13:54 2013 | http://epydoc.sourceforge.net |