Warning
This documentation is still a work in progress. If you have any issues or
questions, please ask on the cybox-discussion mailing list or file a bug
in our issue tracker.
-
class cybox.common.structured_text.StructuredText(value=None)[source]
Bases: cybox.Entity
XML binding class: <undefined>
-
classmethod from_dict(text_dict, text=None)[source]
-
classmethod from_obj(text_obj, text=None)[source]
-
is_plain()[source]
Whether this can be represented as a string rather than a dictionary
Subclasses can override this to include their custom fields in this
check:
return (super(..., self).is_plain() and self.other_field is None)
-
to_dict()[source]
-
to_obj(return_obj=None, ns_info=None)[source]