ts_core.config.bindings.netfile 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(*args, **kw)[source]

Bases: pyxb.binding.datatypes.float

An atomic simple type.

class STD_ANON_(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_10(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_11(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_12(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin

An atomic simple type.

connector = 'connector'
crossing = 'crossing'
internal = 'internal'
normal = 'normal'
walkingarea = 'walkingarea'
class STD_ANON_13(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin

An atomic simple type.

center = 'center'
right = 'right'
class STD_ANON_14(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin

An atomic simple type.

allway_stop = 'allway_stop'
dead_end = 'dead_end'
district = 'district'
internal = 'internal'
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 STD_ANON_15(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_16(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_17(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin

An atomic simple type.

L = 'L'
R = 'R'
T = 'T'
l = 'l'
r = 'r'
s = 's'
t = 't'
class STD_ANON_18(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin

An atomic simple type.

M = 'M'
Z = 'Z'
emptyString = '='
emptyString_ = '-'
m = 'm'
o = 'o'
s = 's'
w = 'w'
class STD_ANON_2(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_3(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_4(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin

An atomic simple type.

black = 'black'
blue = 'blue'
cyan = 'cyan'
green = 'green'
grey = 'grey'
magenta = 'magenta'
orange = 'orange'
red = 'red'
white = 'white'
yellow = 'yellow'
class STD_ANON_5(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_6(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_7(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_8(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class STD_ANON_9(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class boolOptionType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex 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_mixin

An 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_union

Simple 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 connectionType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type connectionType with content type EMPTY

contPos

Get the value of the attribute from the instance.

dir

Get the value of the attribute from the instance.

fromLane

Get the value of the attribute from the instance.

from_

Get the value of the attribute from the instance.

keepClear

Get the value of the attribute from the instance.

linkIndex

Get the value of the attribute from the instance.

pass_

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.

state

Get the value of the attribute from the instance.

tl

Get the value of the attribute from the instance.

to

Get the value of the attribute from the instance.

toLane

Get the value of the attribute from the instance.

via

Get the value of the attribute from the instance.

visibility

Get the value of the attribute from the instance.

class edgeType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type edgeType with content type ELEMENT_ONLY

crossingEdges

Get the value of the attribute from the instance.

from_

Get the value of the attribute from the instance.

function

Get the value of the attribute from the instance.

id

Get the value of the attribute from the instance.

lane

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.

length

Get the value of the attribute from the instance.

name

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.

priority

Get the value of the attribute from the instance.

shape

Get the value of the attribute from the instance.

spreadType

Get the value of the attribute from the instance.

to

Get the value of the attribute from the instance.

type

Get the value of the attribute from the instance.

class fileOptionType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex 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.complexTypeDefinition

Complex 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.complexTypeDefinition

Complex 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.complexTypeDefinition

Complex 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 junctionType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type junctionType with content type ELEMENT_ONLY

customShape

Get the value of the attribute from the instance.

id

Get the value of the attribute from the instance.

incLanes

Get the value of the attribute from the instance.

intLanes

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.

request

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.

shape

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 laneType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type laneType with content type ELEMENT_ONLY

acceleration

Get the value of the attribute from the instance.

allow

Get the value of the attribute from the instance.

customShape

Get the value of the attribute from the instance.

disallow

Get the value of the attribute from the instance.

endOffset

Get the value of the attribute from the instance.

id

Get the value of the attribute from the instance.

index

Get the value of the attribute from the instance.

length

Get the value of the attribute from the instance.

neigh

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.

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.

prefer

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.

width

Get the value of the attribute from the instance.

class locationType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex 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 neighType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type neighType with content type EMPTY

lane

Get the value of the attribute from the instance.

class netType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type netType with content type ELEMENT_ONLY

connection

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.

edge

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.

junction

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.

junctionCornerDetail

Get the value of the attribute from the instance.

junctionLinkDetail

Get the value of the attribute from the instance.

lefthand

Get the value of the attribute from the instance.

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.

prohibition

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.

rectangularLaneCut

Get the value of the attribute from the instance.

roundabout

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.

taz

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.

tlLogic

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.

type

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.

walkingareas

Get the value of the attribute from the instance.

class nodeTypeType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin

An 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 nonNegativeDistributionType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of nonNegativeFloatType, STD_ANON_.

class nonNegativeFloatType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.float

An atomic simple type.

class nonNegativeFloatTypeWithErrorValue(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of nonNegativeFloatType, STD_ANON.

class nonNegativeIntType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.int

An atomic simple type.

class paramType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex 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.complexTypeDefinition

Complex 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.float

An atomic simple type.

class positiveIntType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.int

An atomic simple type.

class prohibitionType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type prohibitionType with content type EMPTY

prohibited

Get the value of the attribute from the instance.

prohibitor

Get the value of the attribute from the instance.

class requestType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type requestType with content type EMPTY

cont

Get the value of the attribute from the instance.

foes

Get the value of the attribute from the instance.

index

Get the value of the attribute from the instance.

response

Get the value of the attribute from the instance.

class restrictionType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex 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 roundaboutType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type roundaboutType with content type EMPTY

edges

Get the value of the attribute from the instance.

nodes

Get the value of the attribute from the instance.

class shapeType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class shapeTypeTwo(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class splitType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex 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.complexTypeDefinition

Complex 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 tazSubType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type tazSubType with content type EMPTY

id

Get the value of the attribute from the instance.

weight

Get the value of the attribute from the instance.

class tazType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type tazType with content type ELEMENT_ONLY

edges

Get the value of the attribute from the instance.

id

Get the value of the attribute from the instance.

shape

Get the value of the attribute from the instance.

tazSink

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.

tazSource

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.

class tazsType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type tazsType with content type ELEMENT_ONLY

taz

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.

class timeOptionType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex 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.complexTypeDefinition

Complex 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_mixin

An atomic simple type.

actuated = 'actuated'
delay_based = 'delay_based'
static = 'static'
class typeType(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex 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.