Version: 1.1.1.9
stix.common.structured_text
Module¶
Classes¶
-
class
stix.common.structured_text.
StructuredText
(value=None)¶ Bases:
stix.base.Entity
Used for storing descriptive text elements.
-
id_
¶ An id for the text element, typically used for controlled structure xpath selectors.
-
value
¶ The text value of this object.
-
structuring_format
¶ The format of the text. For example,
html5
.
-
__str__
()¶ Returns a UTF-8 encoded string representation of the
value
.
-
__unicode__
()¶ Returns a
unicode
string representation of thevalue
.
-
to_dict
()¶ Converts this object into a dictionary representation.
Note
If no properies or attributes are set other than
value
, this will return a string.
-