Attribute

class Attribute()

Constructors

Properties


Constructors

Attribute.constructor(type, title, valueName, value, unit)
Arguments:
  • type (AttributeType) – None
  • title (string()) – None
  • valueName (string | null()) – None
  • value (string()) – None
  • unit ([UnitElement]()) – None
Return type:

Attribute()

Properties

Attribute.__Attribute
Type:PhantomMember

Methods

copy

Attribute.copy()
Return type:Attribute()
Attribute.copy()
Return type:Attribute

getTitle

Attribute.getTitle()
Return type:string
Attribute.getTitle()
Return type:string

getType

Attribute.getType()
Return type:AttributeType
Attribute.getType()
Return type:AttributeType

getUnit

Attribute.getUnit()
Return type:string

getValue

Attribute.getValue()
Return type:string
Attribute.getValue()
Return type:string

getValueName

Attribute.getValueName()
Return type:string | null

static parseBinary

Attribute.parseBinary(parser)
Arguments:
Return type:

Attribute()

static parseXml

Attribute.parseXml(attributeNode)
Arguments:
  • attributeNode (Element()) – None
Return type:

Attribute()