python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute Class Reference
Inheritance diagram for lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute:
[legend]
Collaboration diagram for lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute:
[legend]

Public Member Functions

def __init__ (self, name, value, type=str)
 
def to_xml (self, obj, minidom.Element parent, minidom.Document dom)
 
def from_python (self, value)
 
def from_xml (self, obj, minidom.Element parent, ObjectRegistry registry)
 
def default (self)
 
- Public Member Functions inherited from lottie.parsers.sif.xml.core_nodes.XmlDescriptor
def __init__ (self, name)
 
def initialize_object (self, dict, obj)
 
def clean (self, value)
 
def __repr__ (self)
 

Public Attributes

 value
 
 type
 
- Public Attributes inherited from lottie.parsers.sif.xml.core_nodes.XmlDescriptor
 name
 
 att_name
 

Detailed Description

Definition at line 88 of file core_nodes.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute.__init__ (   self,
  name,
  value,
  type = str 
)

Definition at line 89 of file core_nodes.py.

Member Function Documentation

◆ default()

def lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute.default (   self)

Reimplemented from lottie.parsers.sif.xml.core_nodes.XmlDescriptor.

Definition at line 106 of file core_nodes.py.

◆ from_python()

def lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute.from_python (   self,
  value 
)

Reimplemented from lottie.parsers.sif.xml.core_nodes.XmlDescriptor.

Definition at line 97 of file core_nodes.py.

◆ from_xml()

def lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute.from_xml (   self,
  obj,
minidom.Element  parent,
ObjectRegistry  registry 
)

Reimplemented from lottie.parsers.sif.xml.core_nodes.XmlDescriptor.

Definition at line 102 of file core_nodes.py.

◆ to_xml()

def lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute.to_xml (   self,
  obj,
minidom.Element  parent,
minidom.Document  dom 
)

Reimplemented from lottie.parsers.sif.xml.core_nodes.XmlDescriptor.

Definition at line 94 of file core_nodes.py.

Member Data Documentation

◆ type

lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute.type

Definition at line 92 of file core_nodes.py.

◆ value

lottie.parsers.sif.xml.core_nodes.XmlFixedAttribute.value

Definition at line 91 of file core_nodes.py.


The documentation for this class was generated from the following file: