raw Package

raw Package

ebu_tt_live.bindings.raw.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}.

ebu_tt_live.bindings.raw.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 ebu_tt_live.bindings.raw.body_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Container of the subtitle and the timing information.

agent

Get the value of the attribute from the instance.

begin

Start point of a temporal interval associated with a tt:body element.

div

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.

dur

The maximum duration of the document relative to the resolved begin time, as defined in TTML 1.

end

End point of a temporal interval associated with a tt:body element.

metadata

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.

role

Get the value of the attribute from the instance.

style

ID(s) of one or more style element(s). The style information shall be applied to the enclosed content of the tt:body element.

class ebu_tt_live.bindings.raw.br_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Forced line break.

metadata

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.

role

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw.d_body_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Container of the subtitle and the timing information.

agent

Get the value of the attribute from the instance.

div

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.

metadata

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.

role

Get the value of the attribute from the instance.

style

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw.d_br_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Forced line break.

metadata

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.

role

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw.d_div_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Logical container of textual content.

agent

Get the value of the attribute from the instance.

id

Get the value of the attribute from the instance.

lang

Get the value of the attribute from the instance.

metadata

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.

p

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.

region

Application of layout and style information through reference of a region.

role

Get the value of the attribute from the instance.

style

ID(s) of one or more style element(s). The style information shall be applied to the enclosed content of the tt:div element.

class ebu_tt_live.bindings.raw.d_head_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Contains metadata as well as layout and styling information that are referenced by the subtitle blocks in the body.

copyright

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.

layout

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.

metadata

Generic container for metadata information that applies to the whole document.

styling

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 ebu_tt_live.bindings.raw.d_layout_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Container element for layout information.

metadata

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.

region

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 ebu_tt_live.bindings.raw.d_metadata_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Container for metadata information.

class ebu_tt_live.bindings.raw.d_p_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Logical paragraph.

agent

Get the value of the attribute from the instance.

begin

Start point of a temporal interval associated with a tt:p element.

br

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.

end

End point of a temporal interval associated with a tt:p element.

id

Get the value of the attribute from the instance.

lang

Get the value of the attribute from the instance.

metadata

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.

region

Application of layout information through reference of a region.

role

Get the value of the attribute from the instance.

space

Get the value of the attribute from the instance.

span

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.

style

ID(s) of one or more style element(s). The style information shall be applied to the enclosed content of the tt:p element.

class ebu_tt_live.bindings.raw.d_region_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Defines a space or area for the display of subtitle content.

displayAlign

Alignment in the block progression direction.

extent

Get the value of the attribute from the instance.

id

Get the value of the attribute from the instance.

metadata

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.

origin

The x and y coordinates of the top left corner of a region with respect to the active video the document was authored for. The (0, 0) coordinate shall be assumed to be the top left corner of the active video. Values in percentage shall be relative to the width and height of the active video. oordinates of the origin of a region with respect to the active video the document was authored for. Values in percentage shall be relative to the width and height of the active video.

overflow

Defines whether a region area is clipped if the content of the region overflows the specified extent of the region.

padding

Get the value of the attribute from the instance.

showBackground

Constraints on when the background color of a region is intended to be presented.

style

ID(s) of one or more style element(s).

writingMode

Writing mode of subtitle content.

class ebu_tt_live.bindings.raw.d_span_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Inline element to allow the application of local style information, annotation or metadata.

agent

Get the value of the attribute from the instance.

begin

Start point of a temporal interval associated with the element.

br

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.

end

End point of a temporal interval associated with the element.

id

Get the value of the attribute from the instance.

lang

Get the value of the attribute from the instance.

metadata

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.

role

Get the value of the attribute from the instance.

space

Get the value of the attribute from the instance.

style

ID(s) of one or more style element(s). The style information shall be applied to the enclosed content of the tt:span element.

class ebu_tt_live.bindings.raw.d_style_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Set of style information.

backgroundColor

Background colour of a subtitle or a region.

color

Foreground colour of an area.

direction

Directionality if bi-directional text is used.

fontFamily

Font-family from which glyphs are selected.

fontSize

The font-size of a glyph.

fontStyle

Font style that applies to glyphs.

fontWeight

Font weight that applies to glyphs.

id

Get the value of the attribute from the instance.

lineHeight

Inter-baseline separation between line areas.

linePadding

Padding (or inset) space on the start and end edges of each rendered line area

metadata

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.

multiRowAlign

Alignment of multiple ‘rows’ of inline areas within a containing block area.

textAlign

Alignment of inline areas in a containing block.

textDecoration

Whether a glyph is underlined.

unicodeBidi

Directional embedding or override according to the Unicode bidirectional algorithm.

wrapOption

Defines whether or not automatic line wrapping (breaking) applies within the context of the affected element.

class ebu_tt_live.bindings.raw.d_styling_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Container for styling information.

metadata

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.

style

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 ebu_tt_live.bindings.raw.d_tt_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Root element of an EBU-TT-D XML document.

body

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.

cellResolution

Expresses a virtual visual grid composed of horizontal and vertical cells. This virtual grid shall divide the active video in rows and columns.

head

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.

lang

Get the value of the attribute from the instance.

space

Get the value of the attribute from the instance.

timeBase

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw.div_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Logical container of textual content.

agent

Get the value of the attribute from the instance.

begin

Start point of a temporal interval associated with a tt:div element.

div

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.

end

End point of a temporal interval associated with a tt:div element.

id

Get the value of the attribute from the instance.

metadata

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.

p

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.

region

Application of layout and style information through reference of a region.

role

Get the value of the attribute from the instance.

style

ID(s) of one or more style element(s). The style information shall be applied to the enclosed content of the tt:div element.

class ebu_tt_live.bindings.raw.head_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Contains metadata as well as layout and styling information that are referenced by the subtitle blocks in the body.

copyright

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.

layout

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.

metadata

Generic container for metadata information that applies to the whole document.

styling

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 ebu_tt_live.bindings.raw.layout(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Container element for layout information.

metadata

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.

region

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 ebu_tt_live.bindings.raw.p_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Logical paragraph.

agent

Get the value of the attribute from the instance.

begin

Start point of a temporal interval associated with a tt:p element.

br

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.

end

End point of a temporal interval associated with a tt:p element.

id

Get the value of the attribute from the instance.

lang

Get the value of the attribute from the instance.

metadata

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.

region

Application of layout information through reference of a region.

role

Get the value of the attribute from the instance.

space

Get the value of the attribute from the instance.

span

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.

style

ID(s) of one or more style element(s). The style information shall be applied to the enclosed content of the tt:p element.

class ebu_tt_live.bindings.raw.region(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Defines a space or area for the display of subtitle content.

displayAlign

Alignment in the block progression direction.

extent

Get the value of the attribute from the instance.

id

Get the value of the attribute from the instance.

metadata

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.

origin

The x and y coordinates of the top left corner of a region with respect to the active video the document was authored for. The (0, 0) coordinate shall be assumed to be the top left corner of the active video. Values in percentage shall be relative to the width and height of the active video. oordinates of the origin of a region with respect to the active video the document was authored for. Values in percentage shall be relative to the width and height of the active video.

overflow

Defines whether a region area is clipped if the content of the region overflows the specified extent of the region.

padding

Get the value of the attribute from the instance.

showBackground

Constraints on when the background color of a region is intended to be presented.

style

ID(s) of one or more style element(s).

writingMode

Writing mode of subtitle content.

class ebu_tt_live.bindings.raw.span_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Inline element to allow the application of local style information, annotation or metadata.

agent

Get the value of the attribute from the instance.

begin

Start point of a temporal interval associated with the element.

br

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.

end

End point of a temporal interval associated with the element.

id

Get the value of the attribute from the instance.

lang

Get the value of the attribute from the instance.

metadata

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.

role

Get the value of the attribute from the instance.

space

Get the value of the attribute from the instance.

span

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.

style

ID(s) of one or more style element(s). The style information shall be applied to the enclosed content of the tt:span element.

class ebu_tt_live.bindings.raw.style(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Set of style information.

backgroundColor

Background colour of a subtitle or a region.

color

Foreground colour of an area.

direction

Directionality if bi-directional text is used.

fontFamily

Font-family from which glyphs are selected.

fontSize

The font-size of a glyph.

fontStyle

Font style that applies to glyphs.

fontWeight

Font weight that applies to glyphs.

id

Get the value of the attribute from the instance.

lineHeight

Inter-baseline separation between line areas.

linePadding

Padding (or inset) space on the start and end edges of each rendered line area

metadata

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.

multiRowAlign

Alignment of multiple ‘rows’ of inline areas within a containing block area.

padding

Get the value of the attribute from the instance.

style

Reference to one or more other tt:style elements.

textAlign

Alignment of inline areas in a containing block.

textDecoration

Whether a glyph is underlined.

unicodeBidi

Directional embedding or override according to the Unicode bidirectional algorithm.

wrapOption

Defines whether or not automatic line wrapping (breaking) applies within the context of the affected element.

class ebu_tt_live.bindings.raw.styling(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Container for styling information.

metadata

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.

style

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 ebu_tt_live.bindings.raw.tt_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Root element of an EBU-TT XML document.

authoringDelay

The authoring delay associated with the timed content within this document may be indicated using the ebuttm:authoringDelay attribute. NOTE: This delay may be estimated or measured, and is intended to represent the duration between when the subitle authoring tool received the instantaneous media for which subtitles were authored and the moment that the authoring tool emitted those subtitles.

authorsGroupControlToken

The control token used to direct a Handover Manager to select an input sequence from a particular authors group. The input sequence whose document has the greatest ebuttp:authorsGroupControlToken value is selected for output.

authorsGroupIdentifier

Identifies the group of authors whose sequences relate to the same content and amongst which a Handover Manager should select documents when generating its output sequence.

authorsGroupSelectedSequenceIdentifier

The selected sequenceIdentifier is to be moved here by the handover node.

body

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.

cellResolution

Expresses a virtual visual grid composed of horizontal and vertical cells. This virtual grid shall divide the active video in rows and columns.

clockMode

Get the value of the attribute from the instance.

dropMode

The attribute specifies constraints on the interpretation and use of frame counts that correspond with time expressions of type ebuttdt:smpteTimingType. The attribute shall be specified when the value of the ttp:timebase attribute is “smpte”.

extent

Get the value of the attribute from the instance.

frameRate

The frame rate used to interpret time expressions of type ebuttdt:smpteTimingType

frameRateMultiplier

Multiplier that shall be applied to the frame rate specified by a ttp:frameRate attribute in order to compute the effective frame rate.

head

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.

lang

Get the value of the attribute from the instance.

markerMode

If the timebase is “smpte” ttp:markerMode shall be specified. The value “discontinuous” implies that because of the marker mode of operation no assumption may be made regarding linearity or monotonicity of time coordinates. The value “continuous” implies that we assume linearity and monotonicity of time coordinates.

referenceClockIdentifier

Allows the reference clock source to be identified. Permitted only when ttp:timebase=”clock” AND ttp:clockMode=”local” OR when ttp:timeBase=”smpte”.

sequenceIdentifier

Every document with the same ebuttp:sequenceIdentifier shall be uniquely numbered using the ebuttp:sequenceNumber attribute.

sequenceNumber

Every document with the same ebuttp:sequenceIdentifier shall be uniquely numbered using the ebuttp:sequenceNumber attribute.

space

Get the value of the attribute from the instance.

timeBase

Get the value of the attribute from the instance.

_ebuttdt Module

ebu_tt_live.bindings.raw._ebuttdt.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}.

ebu_tt_live.bindings.raw._ebuttdt.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 ebu_tt_live.bindings.raw._ebuttdt.STD_ANON(*args, **kw)[source]

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

An atomic simple type.

normal = u'normal'
class ebu_tt_live.bindings.raw._ebuttdt.authoringDelayType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.cellExtentType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.cellFontSizeType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.cellLengthType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.cellLineHeightType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.cellOriginType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.cellResolutionType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.clockTimingType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of limitedClockTimingType, timecountTimingType.

class ebu_tt_live.bindings.raw._ebuttdt.colorType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of rgbHexColorType, rgbaHexColorType, rgbColorType, rgbaColorType, namedColorType.

aqua = u'aqua'
black = u'black'
blue = u'blue'
cyan = u'cyan'
fuchsia = u'fuchsia'
gray = u'gray'
green = u'green'
lime = u'lime'
magenta = u'magenta'
maroon = u'maroon'
navy = u'navy'
olive = u'olive'
purple = u'purple'
red = u'red'
silver = u'silver'
teal = u'teal'
transparent = u'transparent'
white = u'white'
yellow = u'yellow'
class ebu_tt_live.bindings.raw._ebuttdt.durationTimingType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of limitedClockTimingType, timecountTimingType, timecountTimingType, fullClockTimingType.

class ebu_tt_live.bindings.raw._ebuttdt.extentType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of cellExtentType, percentageExtentType, pixelExtentType.

class ebu_tt_live.bindings.raw._ebuttdt.fontFamilyType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.fontSizeType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of cellFontSizeType, percentageFontSizeType, pixelFontSizeType.

class ebu_tt_live.bindings.raw._ebuttdt.fontStyleType(*args, **kw)[source]

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

An atomic simple type.

italic = u'italic'
normal = u'normal'
class ebu_tt_live.bindings.raw._ebuttdt.fontWeightType(*args, **kw)[source]

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

An atomic simple type.

bold = u'bold'
normal = u'normal'
class ebu_tt_live.bindings.raw._ebuttdt.frameRateMultiplierType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.fullClockTimingType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.lengthType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of cellLengthType, percentageLengthType, pixelLengthType.

class ebu_tt_live.bindings.raw._ebuttdt.limitedClockTimingType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.lineHeightType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of percentageLineHeightType, cellLineHeightType, pixelLineHeightType, STD_ANON.

normal = u'normal'
class ebu_tt_live.bindings.raw._ebuttdt.mediaTimingType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of timecountTimingType, fullClockTimingType.

class ebu_tt_live.bindings.raw._ebuttdt.namedColorType(*args, **kw)[source]

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

An atomic simple type.

aqua = u'aqua'
black = u'black'
blue = u'blue'
cyan = u'cyan'
fuchsia = u'fuchsia'
gray = u'gray'
green = u'green'
lime = u'lime'
magenta = u'magenta'
maroon = u'maroon'
navy = u'navy'
olive = u'olive'
purple = u'purple'
red = u'red'
silver = u'silver'
teal = u'teal'
transparent = u'transparent'
white = u'white'
yellow = u'yellow'
class ebu_tt_live.bindings.raw._ebuttdt.originType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of cellOriginType, pixelOriginType, percentageOriginType.

class ebu_tt_live.bindings.raw._ebuttdt.paddingType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.percentageExtentType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.percentageFontSizeType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.percentageLengthType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.percentageLineHeightType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.percentageOriginType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.pixelExtentType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.pixelFontSizeType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.pixelLengthType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.pixelLineHeightType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.pixelOriginType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.rgbColorType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.rgbHexColorType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.rgbaColorType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.rgbaHexColorType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.smpteTimingType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.startOfProgrammeTimingType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of limitedClockTimingType, timecountTimingType, smpteTimingType.

class ebu_tt_live.bindings.raw._ebuttdt.timecountTimingType(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttdt.timingType(*args, **kw)[source]

Bases: pyxb.binding.basis.STD_union

Simple type that is a union of smpteTimingType, timecountTimingType, fullClockTimingType, limitedClockTimingType, timecountTimingType.

class ebu_tt_live.bindings.raw._ebuttdt.transitionStyleAttributeType(*args, **kw)[source]

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

An atomic simple type.

block = u'block'
groupOfWords = u'groupOfWords'
line = u'line'
partOfWord = u'partOfWord'
word = u'word'

_ebuttm Module

class ebu_tt_live.bindings.raw._ebuttm.CTD_ANON(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Indicates the subtitle format an author had in mind when authoring an EBU-TT document or transforming another format to an EBU-TT document.

Reference to a term in a classification scheme.

class ebu_tt_live.bindings.raw._ebuttm.CTD_ANON_(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type [anonymous] with content type SIMPLE

Reference to a term in a classification scheme.

class ebu_tt_live.bindings.raw._ebuttm.CTD_ANON_2(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type [anonymous] with content type EMPTY

type

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ebuttm.CTD_ANON_3(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type [anonymous] with content type EMPTY

serviceBegin

Get the value of the attribute from the instance.

serviceEnd

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ebuttm.CTD_ANON_4(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

When an ebuttm:documentTargetActiveFormatDescriptor element is used in an EBU-TT document, an ebuttm:documentIntendedTargetBarData element may be used whenever the AFD alone is insufficient to describe the extent of the image (i.e. AFD values 0000 and 0100). The Bar Data shall be specified in accordance with SMPTE ST 2016 1:2009 “Format for Active Format Description and Bar Data” Table 3.

lineNumberEndOfTopBar

Last line of a horizontal letter box bar area at the top of the reconstructed frame. Designation of line numbers shall be based on the video standards and information specified in accordance with SMPTE ST 2016 1:2009. All Bar Data values shall be stated in values appropriate to a progressive frame system.

lineNumberStartOfBottomBar

First line of a horizontal letter box bar area at the bottom of the reconstructed frame. Designation of line numbers shall be based on the video standards and information specified in accordance with SMPTE ST 2016 1:2009. All Bar Data values shall be stated in values appropriate to a progressive frame system.

pixelNumberEndOfLeftBar

Last horizontal luminance sample of a vertical pillar box bar area at the left side of the reconstructed frame. Pixels shall be numbered from zero, starting with the leftmost pixel, based on the video standards and information specified in accordance with SMPTE ST 2016 1:2009.

pixelNumberStartOfRightBar

First horizontal luminance sample of a vertical pillar box bar area at the right side of the reconstructed frame. Pixels shall be numbered from zero, starting with the leftmost pixel, based on the video standards and information specified in accordance with SMPTE ST 2016 1:2009.

position

Bar Data is defined in pairs, either top and bottom bars or left and right bars, but not both pairs at once. Bars may be unequal in size. One bar of a pair may be zero width or height.

ebu_tt_live.bindings.raw._ebuttm.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}.

ebu_tt_live.bindings.raw._ebuttm.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 ebu_tt_live.bindings.raw._ebuttm.STD_ANON(*args, **kw)[source]

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

An atomic simple type.

BASE64 = u'BASE64'
class ebu_tt_live.bindings.raw._ebuttm.STD_ANON_(*args, **kw)[source]

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

An atomic simple type.

v1_0 = u'v1.0'
class ebu_tt_live.bindings.raw._ebuttm.STD_ANON_2(*args, **kw)[source]

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

An atomic simple type.

leftRight = u'leftRight'
topBottom = u'topBottom'
class ebu_tt_live.bindings.raw._ebuttm.STD_ANON_3(*args, **kw)[source]

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

An atomic simple type.

live = u'live'
prepared = u'prepared'
class ebu_tt_live.bindings.raw._ebuttm.STD_ANON_4(*args, **kw)[source]

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

An atomic simple type.

has = u'has'
has_not = u'has_not'
unknown = u'unknown'
class ebu_tt_live.bindings.raw._ebuttm.STD_ANON_5(*args, **kw)[source]

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

An atomic simple type.

all_has = u'all_has'
all_has_not = u'all_has_not'
mixed = u'mixed'
unspecified = u'unspecified'
class ebu_tt_live.bindings.raw._ebuttm.STD_ANON_6(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttm.anyMetadata_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Container for metadata information.

class ebu_tt_live.bindings.raw._ebuttm.appliedProcessing_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type {urn:ebu:tt:metadata}appliedProcessing_type with content type ELEMENT_ONLY

appliedDateTime

Get the value of the attribute from the instance.

generatedBy

Get the value of the attribute from the instance.

process

Get the value of the attribute from the instance.

sourceId

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ebuttm.authoringTechnique_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type {urn:ebu:tt:metadata}authoringTechnique_type with content type SIMPLE

Reference to a term in a classification scheme.

class ebu_tt_live.bindings.raw._ebuttm.binaryData_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Binary data of the input formats or associated documents used to generate an EBU-TT document.

binaryDataType

Internal format of the binary data.

creationDate
fileName

A filename that may be used to identify the original filename of the tunnelled binary data.

revisionDate
revisionNumber
textEncoding

Text encoding of the binary data.

class ebu_tt_live.bindings.raw._ebuttm.bodyMetadata_type(*args, **kw)[source]

Bases: ebu_tt_live.bindings.raw._ebuttm.metadataBase_type

Complex type {urn:ebu:tt:metadata}bodyMetadata_type with content type ELEMENT_ONLY

authoringTechnique

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.

facet

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.

transitionStyle

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 ebu_tt_live.bindings.raw._ebuttm.divMetadata_type(*args, **kw)[source]

Bases: ebu_tt_live.bindings.raw._ebuttm.metadataBase_type

Complex type {urn:ebu:tt:metadata}divMetadata_type with content type ELEMENT_ONLY

authoringTechnique

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.

binaryData

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.

facet

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.

transitionStyle

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 ebu_tt_live.bindings.raw._ebuttm.documentFacet_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

The documentFacet element indicates a document level summary of a facet that applies to the document’s content as defined by the facet element. The value may be the name of a term in a classification scheme, whose term should be identified by the link attribute. Each distinctly identified facet that is summarised shall have a separate documentFacet element. Empty documentFacet elements should have a link attribute. Documents shall NOT contain more than one documentFacet element referring to the same term, where the term is identified by the combination of the element contents and the value of the link attribute.

Get the value of the attribute from the instance.

summary

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ebuttm.documentMetadata(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

EBU-TT specific metadata that applies to the whole EBU-TT document.

appliedProcessing

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.

broadcastServiceIdentifier

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.

conformsToStandard

Indicates the conformance with a specific standard that is derived from TTML.

documentBeginDate

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.

documentContentType

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.

documentCopyright

The copyright of the document.

documentCountryOfOrigin

The country of origin of the subtitle list. STL mapping: Country of Origin (CO).

documentCreationDate

The date of creation of the EBU-TT document.

documentCreationMode

Identifies the overall workflow used to create the content in the document.

documentEbuttVersion

The version of the EBU-TT standard used by the document instance.

documentEditorsContactDetails

Information about the editor named in the metadata element documentEditorsName. STL mapping: Editor’s Contact Details (ECD).

documentEditorsName

Name of the editor of the subtitle list. STL mapping: Editor’s Name (EN).

documentFacet

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.

documentIdentifier

Identifier for an EBU-TT document that may be used as external reference to an EBU-TT document.

documentIntendedTargetBarData

When an ebuttm:documentTargetActiveFormatDescriptor element is used in an EBU-TT document, an ebuttm:documentIntendedTargetBarData element may be used whenever the AFD alone is insufficient to describe the extent of the image (i.e. AFD values 0000 and 0100). The Bar Data shall be specified in accordance with SMPTE ST 2016 1:2009 “Format for Active Format Description and Bar Data” Table 3.

documentIntendedTargetFormat

Indicates the subtitle format an author had in mind when authoring an EBU-TT document or transforming another format to an EBU-TT document.

documentMaximumNumberOfDisplayableCharacterInAnyRow

Maximum number of displayable rows per television frame which could be occupied at any one time by the subtitles defined in the TTI blocks. STL mapping: Maximum Number of Displayable Characters in any text row (MNC).

documentOriginalEpisodeTitle

The title of the episode of the programme in the original language. STL mapping: Original Episode Title (OET).

documentOriginalProgrammeTitle

The programme title in the original language. STL mapping: Original Programme Title (OPT).

documentOriginatingSystem

Software and version used to create the EBU-TT document.

documentPublisher

Name of the publisher of the subtitle list. STL mapping: Publisher (PUB).

documentReadingSpeed

The intended reading speed for the subtitles in words per minute.

documentRevisionDate

The date of the most-recent modifications to the EBU-TT document.

documentRevisionNumber

The revision number of the EBU-TT document may be used to specify a particular version of the subtitle list.

documentStartOfProgramme

The time code of the first frame of the recorded video signal which is intended for transmission. Note: When the referenced start timecode of the video material the subtitles were authored for is greater than 00:00:00:00 (e.g. 10:00:00:00) it is recommended to specify the attribute ebuttm:documentStartOfPrograme. STL mapping: Timecode: Start-of-Programme (TCP).

documentSubtitleListReferenceCode

Free-format character string which may be used to provide an additional reference for the subtitle list. Note: This attribute is provided to support conversion of STL subtitle files and to retain the metadata from the GSI block. STL mapping: Subtitle List Reference Code (SLR)

documentTargetActiveFormatDescriptor

The code for the Active Format Descriptor (AFD) that specifies the active image in the active video (see “Definitions of terms”). The code shall be one of the AFD codes specified in SMPTE ST 2016 1:2009 “Format for Active Format Description and Bar Data” Table 1.

documentTargetAspectRatio

The aspect ratio of the video the EBU-TT document was authored for, in width by height.

documentTotalNumberOfSubtitles

The number of subtitles. STL mapping: Total Number of Subtitles (TNS).

documentTransitionStyle

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.

documentTranslatedEpisodeTitle

The title of the episode of the programme in the local language. STL mapping: Translated Episode Title (TET).

documentTranslatedProgrammeTitle

The programme title in the local language. STL mapping: Translated Programme Title (TPT).

documentTranslatorsContactDetails

The translator’s contact details. STL mapping: Translator’s Contact Details (TCD).

documentTranslatorsName

Name of the translator. STL mapping: Translator’s Name (TN).

documentUserDefinedArea

This field may be used to carry information about the programme or subtitle list, or other relevant details. STL mapping: User-Defined Area (UDA).

intendedDestinationServiceIdentifier

The ebuttm:intendedDestinationServiceIdentifier may be used to identify the streams of destination audio-visual content for which the document is intended to apply.

localTimeOffset

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.

originalSourceServiceIdentifier

The ebuttm:originalSourceServiceIdentifier may be used to identify the stream of audio-visual content that was used as the source for authoring the document.

referenceClockIdentifier

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.

relatedMediaDuration

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.

relatedMediaIdentifier

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.

relatedObjectIdentifier

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.

sourceMediaIdentifier

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.

stlCreationDate
stlRevisionDate
stlRevisionNumber
subtitleZero

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 ebu_tt_live.bindings.raw._ebuttm.documentTransitionStyle_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type {urn:ebu:tt:metadata}documentTransitionStyle_type with content type SIMPLE

inUnit

Get the value of the attribute from the instance.

outUnit

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ebuttm.facet_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type {urn:ebu:tt:metadata}facet_type with content type SIMPLE

expresses

Get the value of the attribute from the instance.

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ebuttm.font_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type {urn:ebu:tt:metadata}font_type with content type SIMPLE

fontFamilyName

Get the value of the attribute from the instance.

fontSize

Get the value of the attribute from the instance.

fontStyle

Get the value of the attribute from the instance.

fontWeight

Get the value of the attribute from the instance.

src

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ebuttm.headMetadata_type(*args, **kw)[source]

Bases: ebu_tt_live.bindings.raw._ebuttm.metadataBase_type

Complex type {urn:ebu:tt:metadata}headMetadata_type with content type ELEMENT_ONLY

agent

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.

binaryData

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.

documentMetadata

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 ebu_tt_live.bindings.raw._ebuttm.metadataBase_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type {urn:ebu:tt:metadata}metadataBase_type with content type ELEMENT_ONLY

desc

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.

title

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 ebu_tt_live.bindings.raw._ebuttm.pMetadata_type(*args, **kw)[source]

Bases: ebu_tt_live.bindings.raw._ebuttm.metadataBase_type

Complex type {urn:ebu:tt:metadata}pMetadata_type with content type ELEMENT_ONLY

authoringTechnique

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.

facet

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.

transitionStyle

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 ebu_tt_live.bindings.raw._ebuttm.sourceMediaIdentifier_type(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type {urn:ebu:tt:metadata}sourceMediaIdentifier_type with content type SIMPLE

type

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ebuttm.spanMetadata_type(*args, **kw)[source]

Bases: ebu_tt_live.bindings.raw._ebuttm.metadataBase_type

Complex type {urn:ebu:tt:metadata}spanMetadata_type with content type ELEMENT_ONLY

facet

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 ebu_tt_live.bindings.raw._ebuttm.stylingMetadata_type(*args, **kw)[source]

Bases: ebu_tt_live.bindings.raw._ebuttm.metadataBase_type

Complex type {urn:ebu:tt:metadata}stylingMetadata_type with content type ELEMENT_ONLY

font

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.

_ebuttp Module

ebu_tt_live.bindings.raw._ebuttp.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}.

ebu_tt_live.bindings.raw._ebuttp.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 ebu_tt_live.bindings.raw._ebuttp.STD_ANON(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttp.STD_ANON_(*args, **kw)[source]

Bases: pyxb.binding.datatypes.positiveInteger

An atomic simple type.

class ebu_tt_live.bindings.raw._ebuttp.STD_ANON_2(*args, **kw)[source]

Bases: pyxb.binding.datatypes.string

An atomic simple type.

_ebutts Module

ebu_tt_live.bindings.raw._ebutts.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}.

ebu_tt_live.bindings.raw._ebutts.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 ebu_tt_live.bindings.raw._ebutts.STD_ANON(*args, **kw)[source]

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

An atomic simple type.

auto = u'auto'
center = u'center'
end = u'end'
start = u'start'
class ebu_tt_live.bindings.raw._ebutts.STD_ANON_(*args, **kw)[source]

Bases: pyxb.binding.datatypes.token

An atomic simple type.

_ttm Module

class ebu_tt_live.bindings.raw._ttm.CTD_ANON(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type [anonymous] with content type EMPTY

agent

Get the value of the attribute from the instance.

id

Get the value of the attribute from the instance.

lang

Get the value of the attribute from the instance.

space

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ttm.CTD_ANON_(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type [anonymous] with content type ELEMENT_ONLY

actor

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.

id

Get the value of the attribute from the instance.

lang

Get the value of the attribute from the instance.

name

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.

space

Get the value of the attribute from the instance.

type

Get the value of the attribute from the instance.

class ebu_tt_live.bindings.raw._ttm.CTD_ANON_2(*args, **kw)[source]

Bases: pyxb.binding.basis.complexTypeDefinition

Complex type [anonymous] with content type MIXED

id

Get the value of the attribute from the instance.

lang

Get the value of the attribute from the instance.

space

Get the value of the attribute from the instance.

type

Get the value of the attribute from the instance.

ebu_tt_live.bindings.raw._ttm.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}.

ebu_tt_live.bindings.raw._ttm.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 ebu_tt_live.bindings.raw._ttm.STD_ANON(*args, **kw)[source]

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

An atomic simple type.

alias = u'alias'
family = u'family'
full = u'full'
given = u'given'
other = u'other'
class ebu_tt_live.bindings.raw._ttm.STD_ANON_(*args, **kw)[source]

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

An atomic simple type.

character = u'character'
group = u'group'
organization = u'organization'
other = u'other'
person = u'person'

_ttp Module

ebu_tt_live.bindings.raw._ttp.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}.

ebu_tt_live.bindings.raw._ttp.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 ebu_tt_live.bindings.raw._ttp.STD_ANON(*args, **kw)[source]

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

An atomic simple type.

dropNTSC = u'dropNTSC'
dropPAL = u'dropPAL'
nonDrop = u'nonDrop'
class ebu_tt_live.bindings.raw._ttp.STD_ANON_(*args, **kw)[source]

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

An atomic simple type.

gps = u'gps'
local = u'local'
utc = u'utc'
class ebu_tt_live.bindings.raw._ttp.STD_ANON_2(*args, **kw)[source]

Bases: pyxb.binding.datatypes.positiveInteger

An atomic simple type.

class ebu_tt_live.bindings.raw._ttp.STD_ANON_3(*args, **kw)[source]

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

An atomic simple type.

continuous = u'continuous'
discontinuous = u'discontinuous'
class ebu_tt_live.bindings.raw._ttp.timeBaseType(*args, **kw)[source]

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

The timebase defines the time coordinate system for all time expressions in EBU-TT.

clock = u'clock'
media = u'media'
smpte = u'smpte'

_tts Module

ebu_tt_live.bindings.raw._tts.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}.

ebu_tt_live.bindings.raw._tts.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 ebu_tt_live.bindings.raw._tts.STD_ANON(*args, **kw)[source]

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

An atomic simple type.

ltr = u'ltr'
rtl = u'rtl'
class ebu_tt_live.bindings.raw._tts.STD_ANON_(*args, **kw)[source]

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

An atomic simple type.

center = u'center'
end = u'end'
left = u'left'
right = u'right'
start = u'start'
class ebu_tt_live.bindings.raw._tts.STD_ANON_10(*args, **kw)[source]

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

An atomic simple type.

hidden = u'hidden'
visible = u'visible'
class ebu_tt_live.bindings.raw._tts.STD_ANON_2(*args, **kw)[source]

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

An atomic simple type.

italic = u'italic'
normal = u'normal'
class ebu_tt_live.bindings.raw._tts.STD_ANON_3(*args, **kw)[source]

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

An atomic simple type.

bold = u'bold'
normal = u'normal'
class ebu_tt_live.bindings.raw._tts.STD_ANON_4(*args, **kw)[source]

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

An atomic simple type.

none = u'none'
underline = u'underline'
class ebu_tt_live.bindings.raw._tts.STD_ANON_5(*args, **kw)[source]

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

An atomic simple type.

bidiOverride = u'bidiOverride'
embed = u'embed'
normal = u'normal'
class ebu_tt_live.bindings.raw._tts.STD_ANON_6(*args, **kw)[source]

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

An atomic simple type.

noWrap = u'noWrap'
wrap = u'wrap'
class ebu_tt_live.bindings.raw._tts.STD_ANON_7(*args, **kw)[source]

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

An atomic simple type.

after = u'after'
before = u'before'
center = u'center'
class ebu_tt_live.bindings.raw._tts.STD_ANON_8(*args, **kw)[source]

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

An atomic simple type.

lr = u'lr'
lrtb = u'lrtb'
rl = u'rl'
rltb = u'rltb'
tb = u'tb'
tblr = u'tblr'
tbrl = u'tbrl'
class ebu_tt_live.bindings.raw._tts.STD_ANON_9(*args, **kw)[source]

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

An atomic simple type.

always = u'always'
whenActive = u'whenActive'