Version: 2.1.0.12

cybox.utils package

Module contents

Common utility methods

cybox.utils.denormalize_from_xml(value, delimiter)[source]
cybox.utils.get_class_for_object_type(object_type)[source]
cybox.utils.is_sequence(item)[source]

Returns True if value is a sequence type (e.g., list, or tuple). String types will return False.

cybox.utils.normalize_to_xml(value, delimiter)[source]
cybox.utils.unwrap_cdata(value)[source]

Remove CDATA wrapping from value if present

cybox.utils.wrap_cdata(value)[source]