5151
5252
5353@export
54- class IpxactSchema (metaclass = ExtendedType , slots = True ):
54+ class IPXACTSchema (metaclass = ExtendedType , slots = True ):
5555 """Schema descriptor made of version, namespace prefix, URI, URL and local path."""
5656
5757 _version : Union [SemanticVersion , CalendarVersion ] #: Schema version
@@ -158,16 +158,16 @@ def __str__(self) -> str:
158158
159159
160160# version, xmlns, URI URL, Local Path
161- _IPXACT_10 = IpxactSchema ("1.0" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.0" , "" , _IPXACT_10_INDEX )
162- _IPXACT_11 = IpxactSchema ("1.1" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.1" , "" , _IPXACT_11_INDEX )
163- _IPXACT_12 = IpxactSchema ("1.2" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2" , "" , _IPXACT_12_INDEX )
164- _IPXACT_14 = IpxactSchema ("1.4" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.4" , "" , _IPXACT_14_INDEX )
165- _IPXACT_15 = IpxactSchema ("1.5" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.5" , "" , _IPXACT_15_INDEX )
166- _IPXACT_2009 = IpxactSchema ("2009" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" , "" , _IPXACT_2009_INDEX )
167- _IPXACT_2014 = IpxactSchema ("2014" , "ipxact" , "http://www.accellera.org/XMLSchema/IPXACT/1685-2014" , "http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd" , _IPXACT_2014_INDEX )
168- _IPXACT_2022 = IpxactSchema ("2022" , "ipxact" , "http://www.accellera.org/XMLSchema/IPXACT/1685-2022" , "http://www.accellera.org/XMLSchema/IPXACT/1685-2022/index.xsd" , _IPXACT_2022_INDEX )
169-
170- __VERSION_TABLE__ : Dict [str , IpxactSchema ] = {
161+ _IPXACT_10 = IPXACTSchema ("1.0" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.0" , "" , _IPXACT_10_INDEX )
162+ _IPXACT_11 = IPXACTSchema ("1.1" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.1" , "" , _IPXACT_11_INDEX )
163+ _IPXACT_12 = IPXACTSchema ("1.2" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2" , "" , _IPXACT_12_INDEX )
164+ _IPXACT_14 = IPXACTSchema ("1.4" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.4" , "" , _IPXACT_14_INDEX )
165+ _IPXACT_15 = IPXACTSchema ("1.5" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.5" , "" , _IPXACT_15_INDEX )
166+ _IPXACT_2009 = IPXACTSchema ("2009" , "spirit" , "http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" , "" , _IPXACT_2009_INDEX )
167+ _IPXACT_2014 = IPXACTSchema ("2014" , "ipxact" , "http://www.accellera.org/XMLSchema/IPXACT/1685-2014" , "http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd" , _IPXACT_2014_INDEX )
168+ _IPXACT_2022 = IPXACTSchema ("2022" , "ipxact" , "http://www.accellera.org/XMLSchema/IPXACT/1685-2022" , "http://www.accellera.org/XMLSchema/IPXACT/1685-2022/index.xsd" , _IPXACT_2022_INDEX )
169+
170+ __VERSION_TABLE__ : Dict [str , IPXACTSchema ] = {
171171 '1.0' : _IPXACT_10 ,
172172 '1.1' : _IPXACT_11 ,
173173 '1.4' : _IPXACT_14 ,
@@ -177,7 +177,7 @@ def __str__(self) -> str:
177177 '2022' : _IPXACT_2022
178178} #: Dictionary of all IP-XACT versions mapping to :class:`IpxactSchema` instances.
179179
180- __URI_MAP__ : Dict [str , IpxactSchema ] = {value .SchemaUri : value for key , value in __VERSION_TABLE__ .items ()} #: Mapping from schema URIs to :class:`IpxactSchema` instances.
180+ __URI_MAP__ : Dict [str , IPXACTSchema ] = {value .SchemaUri : value for key , value in __VERSION_TABLE__ .items ()} #: Mapping from schema URIs to :class:`IpxactSchema` instances.
181181
182182__DEFAULT_VERSION__ = "2022" #: IP-XACT default version
183183__DEFAULT_SCHEMA__ = __VERSION_TABLE__ [__DEFAULT_VERSION__ ] #: IP-XACT default Schema
@@ -258,7 +258,7 @@ def Name(self) -> str:
258258 def Version (self ) -> SemanticVersion :
259259 return self ._version
260260
261- def ToXml (self , indent = 1 , schema : IpxactSchema = __DEFAULT_SCHEMA__ , isVersionedIdentifier = False ) -> str :
261+ def ToXml (self , indent = 1 , schema : IPXACTSchema = __DEFAULT_SCHEMA__ , isVersionedIdentifier = False ) -> str :
262262 """
263263 Converts the object's data into XML format.
264264
0 commit comments