ts_core.config.bindings.nodes_xml module¶
-
CreateFromDOM(node, default_namespace=None)[source]¶ Create a Python instance from the given DOM node. The node tag must correspond to an element declaration in this module.
@deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.
-
CreateFromDocument(xml_text, default_namespace=None, location_base=None)[source]¶ Parse the given XML and use the document element to create a Python instance.
@param xml_text An XML document. This should be data (Python 2 str or Python 3 bytes), or a text (Python 2 unicode or Python 3 str) in the L{pyxb._InputEncoding} encoding.
@keyword default_namespace The L{pyxb.Namespace} instance to use as the default namespace where there is no default namespace in scope. If unspecified or C{None}, the namespace of the module containing this function will be used.
@keyword location_base: An object to be recorded as the base of all L{pyxb.utils.utility.Location} instances associated with events and objects handled by the parser. You might pass the URI from which the document was obtained.
-
class
STD_ANON_4(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.string,pyxb.binding.basis.enumeration_mixinAn atomic simple type.
-
black= 'black'¶
-
blue= 'blue'¶
-
cyan= 'cyan'¶
-
green= 'green'¶
-
grey= 'grey'¶
-
magenta= 'magenta'¶
-
orange= 'orange'¶
-
red= 'red'¶
-
white= 'white'¶
-
yellow= 'yellow'¶
-
-
class
boolOptionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type boolOptionType with content type EMPTY
-
help¶ Get the value of the attribute from the instance.
-
synonymes¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
value_¶ Get the value of the attribute from the instance.
-
-
class
boolType(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.string,pyxb.binding.basis.enumeration_mixinAn atomic simple type.
-
False_= 'False'¶
-
True_= 'True'¶
-
emptyString= '-'¶
-
false= 'false'¶
-
n0= '0'¶
-
n1= '1'¶
-
no= 'no'¶
-
off= 'off'¶
-
on= 'on'¶
-
true= 'true'¶
-
x= 'x'¶
-
yes= 'yes'¶
-
-
class
colorType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.STD_unionSimple type that is a union of STD_ANON_2, STD_ANON_3, STD_ANON_4.
-
black= 'black'¶
-
blue= 'blue'¶
-
cyan= 'cyan'¶
-
green= 'green'¶
-
grey= 'grey'¶
-
magenta= 'magenta'¶
-
orange= 'orange'¶
-
red= 'red'¶
-
white= 'white'¶
-
yellow= 'yellow'¶
-
-
class
deleteType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type deleteType with content type EMPTY
-
id¶ Get the value of the attribute from the instance.
-
-
class
fileOptionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type fileOptionType with content type EMPTY
-
help¶ Get the value of the attribute from the instance.
-
synonymes¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
value_¶ Get the value of the attribute from the instance.
-
-
class
floatOptionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type floatOptionType with content type EMPTY
-
help¶ Get the value of the attribute from the instance.
-
synonymes¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
value_¶ Get the value of the attribute from the instance.
-
-
class
intArrayOptionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type intArrayOptionType with content type EMPTY
-
help¶ Get the value of the attribute from the instance.
-
synonymes¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
value_¶ Get the value of the attribute from the instance.
-
-
class
intOptionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type intOptionType with content type EMPTY
-
help¶ Get the value of the attribute from the instance.
-
synonymes¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
value_¶ Get the value of the attribute from the instance.
-
-
class
joinExcludeType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type joinExcludeType with content type EMPTY
-
nodes¶ Get the value of the attribute from the instance.
-
-
class
joinType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type joinType with content type EMPTY
-
nodes¶ Get the value of the attribute from the instance.
-
-
class
locationType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type locationType with content type EMPTY
-
convBoundary¶ Get the value of the attribute from the instance.
-
netOffset¶ Get the value of the attribute from the instance.
-
origBoundary¶ Get the value of the attribute from the instance.
-
projParameter¶ Get the value of the attribute from the instance.
-
-
class
nodeType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type nodeType with content type ELEMENT_ONLY
-
controlledInner¶ Get the value of the attribute from the instance.
-
id¶ Get the value of the attribute from the instance.
-
keepClear¶ Get the value of the attribute from the instance.
-
param¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
radius¶ Get the value of the attribute from the instance.
-
shape¶ Get the value of the attribute from the instance.
-
tl¶ Get the value of the attribute from the instance.
-
tlType¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
x¶ Get the value of the attribute from the instance.
-
y¶ Get the value of the attribute from the instance.
-
z¶ Get the value of the attribute from the instance.
-
-
class
nodeTypeType(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.string,pyxb.binding.basis.enumeration_mixinAn atomic simple type.
-
allway_stop= 'allway_stop'¶
-
dead_end= 'dead_end'¶
-
priority= 'priority'¶
-
priority_stop= 'priority_stop'¶
-
rail_crossing= 'rail_crossing'¶
-
rail_signal= 'rail_signal'¶
-
right_before_left= 'right_before_left'¶
-
traffic_light= 'traffic_light'¶
-
traffic_light_right_on_red= 'traffic_light_right_on_red'¶
-
traffic_light_unregulated= 'traffic_light_unregulated'¶
-
unregulated= 'unregulated'¶
-
zipper= 'zipper'¶
-
-
class
nodesType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type nodesType with content type ELEMENT_ONLY
-
delete¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
join¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
joinExclude¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
location¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
node¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
version¶ Get the value of the attribute from the instance.
-
-
class
nonNegativeDistributionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.STD_unionSimple type that is a union of nonNegativeFloatType, STD_ANON_.
-
class
nonNegativeFloatType(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.floatAn atomic simple type.
-
class
nonNegativeFloatTypeWithErrorValue(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.STD_unionSimple type that is a union of nonNegativeFloatType, STD_ANON.
-
class
nonNegativeIntType(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.intAn atomic simple type.
-
class
paramType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type paramType with content type EMPTY
-
key¶ Get the value of the attribute from the instance.
-
value_¶ Get the value of the attribute from the instance.
-
-
class
phaseType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type phaseType with content type EMPTY
-
duration¶ Get the value of the attribute from the instance.
-
maxDur¶ Get the value of the attribute from the instance.
-
minDur¶ Get the value of the attribute from the instance.
-
state¶ Get the value of the attribute from the instance.
-
-
class
positiveFloatType(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.floatAn atomic simple type.
-
class
positiveIntType(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.intAn atomic simple type.
-
class
restrictionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type restrictionType with content type EMPTY
-
speed¶ Get the value of the attribute from the instance.
-
vClass¶ Get the value of the attribute from the instance.
-
-
class
shapeTypeTwo(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.stringAn atomic simple type.
-
class
splitType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type splitType with content type EMPTY
-
idAfter¶ Get the value of the attribute from the instance.
-
idBefore¶ Get the value of the attribute from the instance.
-
keepClear¶ Get the value of the attribute from the instance.
-
lanes¶ Get the value of the attribute from the instance.
-
pos¶ Get the value of the attribute from the instance.
-
radius¶ Get the value of the attribute from the instance.
-
shape¶ Get the value of the attribute from the instance.
-
speed¶ Get the value of the attribute from the instance.
-
tl¶ Get the value of the attribute from the instance.
-
tlType¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
-
class
strOptionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type strOptionType with content type EMPTY
-
help¶ Get the value of the attribute from the instance.
-
synonymes¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
value_¶ Get the value of the attribute from the instance.
-
-
class
timeOptionType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type timeOptionType with content type EMPTY
-
help¶ Get the value of the attribute from the instance.
-
synonymes¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
value_¶ Get the value of the attribute from the instance.
-
-
class
tlLogicType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type tlLogicType with content type ELEMENT_ONLY
-
id¶ Get the value of the attribute from the instance.
-
offset¶ Get the value of the attribute from the instance.
-
param¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
phase¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
programID¶ Get the value of the attribute from the instance.
-
type¶ Get the value of the attribute from the instance.
-
-
class
tlTypeType(*args, **kw)[source]¶ Bases:
pyxb.binding.datatypes.string,pyxb.binding.basis.enumeration_mixinAn atomic simple type.
-
actuated= 'actuated'¶
-
delay_based= 'delay_based'¶
-
static= 'static'¶
-
-
class
typeType(*args, **kw)[source]¶ Bases:
pyxb.binding.basis.complexTypeDefinitionComplex type typeType with content type ELEMENT_ONLY
-
allow¶ Get the value of the attribute from the instance.
-
bikeLaneWidth¶ Get the value of the attribute from the instance.
-
disallow¶ Get the value of the attribute from the instance.
-
discard¶ Get the value of the attribute from the instance.
-
id¶ Get the value of the attribute from the instance.
-
numLanes¶ Get the value of the attribute from the instance.
-
oneway¶ Get the value of the attribute from the instance.
-
priority¶ Get the value of the attribute from the instance.
-
restriction¶ Return the value for this use within the given instance.
Note that this is the L{resetValue()}, not the L{defaultValue()}, if the element has not yet been assigned a value.
-
sidewalkWidth¶ Get the value of the attribute from the instance.
-
speed¶ Get the value of the attribute from the instance.
-
width¶ Get the value of the attribute from the instance.
-