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.

cybox.common.structured_text module

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]

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_obj(return_obj=None, ns_info=None)[source]

Previous topic

cybox.common.properties module

Next topic

cybox.common.time module

This Page

Related Documentation