Package lib :: Package maec :: Module maec11 :: Class CPESpecificationType
[hide private]
[frames] | no frames]

Class CPESpecificationType

source code

     object --+    
              |    
GeneratedsSuper --+
                  |
                 CPESpecificationType

CPESpecificationType is a modularized data type intended for providing a consistent approach to uniquely specifying the identity of a specific platform using the Common Platform Enumeration (CPE) naming standard. http://cpe.mitre.org/The cpe_name attribute contains the CPE Name value for the relevant platform. A CPE Name is a percent-encoded URI with each name starting with the prefix (the URI scheme name) "cpe:". The remainder of the name consists of colon separated values representing the CPE part, vendor, product, version, update, edition and language (i.e. cpe:/ {part} : {vendor} : {product} : {version} : {update} : {edition} : {language}).The xmlns_value attribute contains the XML namespace descriptor for the CPE namespace relevant to this CPE Name use.

Instance Methods [hide private]
 
__init__(self, cpe_name=None, xmlns_value=None, Title=None, meta_item_metadata=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_Title(self) source code
 
set_Title(self, Title) source code
 
get_meta_item_metadata(self) source code
 
set_meta_item_metadata(self, meta_item_metadata) source code
 
get_cpe_name(self) source code
 
set_cpe_name(self, cpe_name) source code
 
get_xmlns_value(self) source code
 
set_xmlns_value(self, xmlns_value) source code
 
export(self, outfile, level, namespace_='maec:', name_='CPESpecificationType', namespacedef_='') source code
 
exportAttributes(self, outfile, level, already_processed, namespace_='maec:', name_='CPESpecificationType') source code
 
exportChildren(self, outfile, level, namespace_='maec:', name_='CPESpecificationType', fromsubclass_=False) source code
 
hasContent_(self) source code
 
exportLiteral(self, outfile, level, name_='CPESpecificationType') source code
 
exportLiteralAttributes(self, outfile, level, already_processed, name_) source code
 
exportLiteralChildren(self, outfile, level, name_) source code
 
build(self, node) source code
 
buildAttributes(self, node, attrs, already_processed) source code
 
buildChildren(self, child_, node, nodeName_, fromsubclass_=False) source code

Inherited from GeneratedsSuper: gds_build_any, gds_format_boolean, gds_format_boolean_list, gds_format_double, gds_format_double_list, gds_format_float, gds_format_float_list, gds_format_integer, gds_format_integer_list, gds_format_string, gds_str_lower, gds_validate_boolean, gds_validate_boolean_list, gds_validate_double, gds_validate_double_list, gds_validate_float, gds_validate_float_list, gds_validate_integer, gds_validate_integer_list, gds_validate_string, get_class_obj_, get_path_, get_path_list_

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
factory(*args_, **kwargs_) source code
Class Variables [hide private]
  subclass = None
hash(x)
  superclass = None
hash(x)

Inherited from GeneratedsSuper: Tag_strip_pattern_

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cpe_name=None, xmlns_value=None, Title=None, meta_item_metadata=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)