XML basics

Base

class import_export.sciaXML.xml_basics.scxml_base.SCXMLBase(id, t)

Bases: object

Base class for al sciaXML module objects.

getId()

Returns object identifier.

getT()

Returns T field.

id = ''
populateXMLElement(xmlElement)

Inserts items on xmlElement object.

setId(id)

Assigns object idenfier.

setT(t)

Assigns T field.

t = ''

Definition

class import_export.sciaXML.xml_basics.scxml_definition.SCXMLDefinition(uri)

Bases: object

getUri()

returns idenfifier.

setUri(uri)

sets idenfifier.

uri = ''

Enumeration

class import_export.sciaXML.xml_basics.scxml_enum.SCXMLEnum(items)

Bases: object

Enumeration for SCIA XML.

getXMLElement(parent)

Returns the corresponding XML element for the enum object. Parameters: parent: owner of this object in the XML structure.

Item of enumeration

class import_export.sciaXML.xml_basics.scxml_enum_item.SCXMLEnumItem(v, t)

Bases: object

Item of an enumeration.

getXMLElement(parent)

Returns the corresponding XML element for the object. Parameters: parent: owner of this object in the XML structure.

Header item

class import_export.sciaXML.xml_basics.scxml_header_item.SCXMLHeaderItem(t='')

Bases: object

getT()
getXMLElement(parent, count)

Returns the corresponding XML element for the object. Parameters: parent: owner of this object in the XML structure. count: counter.

setT(t)

Object base

Object item

class import_export.sciaXML.xml_basics.scxml_object_item.SCXMLObjectItem(v='', i='', n='', t='', h=None, rws=None)

Bases: object

Item of a table.

getH()

Returns h field.

getI()

Returns i field.

getN()

Returns n field.

getT()

Sets t field.

getV()

Returns v field.

getXMLElement(parent, count)

Returns the corresponding XML element for the object.

Parameters:
  • parent – owner of this object in the XML structure.
  • count – counter.
hasRows()

Returns true if rows are not empty.

setH(h)

Sets h field.

setI(i)

Sets i field.

setN(n)

Sets n field.

setT(t)

Returns t field.

setV(v)

Sets v field.

Object

Properties container

Properties sub-table

Properties table

Property

class import_export.sciaXML.xml_basics.scxml_property.SCXMLProperty(x='', name='', typo='', id='', flag='')

Bases: object

SCIA XML property.

getXMLElement(parent)

Returns the corresponding XML element for the property. Parameters: parent: owner of this object in the XML structure.

Reference

Row

Table base

Table container

TableXMLNodes