CPEComponent2_3_edpacked class

class cpe.comp.cpecomp2_3_uri_edpacked.CPEComponent2_3_URI_edpacked(comp_str)[source]

Represents a packd edition component of version 2.3 of CPE specification with URI style.

SEPARATOR_COMP = '~'

Separator of components of an edition attribute packed

__init__(comp_str)[source]

Store the value of component.

Parameters:

comp_str (string) – value of component value

Returns:

None

Exception:

ValueError - incorrect value of component

set_value(comp_str)[source]

Set the value of component.

Parameters:

comp_str (string) – value of component

Returns:

None

Exception:

ValueError - incorrect value of component