Version: 2.1.0.12.dev0
cybox.core.object
module¶
-
class
cybox.core.object.
DomainSpecificObjectProperties
[source]¶ Bases:
cybox.Entity
The Cybox DomainSpecificObjectProperties base class.
XML binding class: <undefined>
-
class
cybox.core.object.
Object
(properties=None, type_=None)[source]¶ Bases:
cybox.Entity
The CybOX Object element.
Currently only supports the following data members: - id_ - idref - properties - related_objects
XML binding class: <undefined>
-
class
cybox.core.object.
RelatedObject
(*args, **kwargs)[source]¶ Bases:
cybox.core.object.Object
XML binding class: <undefined>
-
cybox.core.object.
add_external_class
(klass, name=None)[source]¶ Adds a class implementation to this binding’s globals() dict.
These classes can be used to implement Properties, Domain_Specific_Object_Properties, or Defined_Effect fields on an Object.
Parameters: - klass (class) – Python class that implements the new type
- name (str) – The name of the class, as it will appear in XML documents
to be parsed. Defaults to
klass.__name__
.