CPEComponent2_3_WFN class¶
-
class
cpe.comp.cpecomp2_3_wfn.
CPEComponent2_3_WFN
(comp_str, comp_att)¶ Represents a component of version 2.3 of CPE specification with WFN style.
-
get_value
()¶ Returns the encoded value of component.
Returns: encoded value of component Return type: string
-
set_value
(comp_str, comp_att)¶ Set the value of component.
Parameters: - comp_str (string) – value of component
- comp_att (string) – attribute associated with comp_str
Returns: None
Exception: ValueError - incorrect value of component
-