Package lib :: Package maec :: Module maec11 :: Class Block
[hide private]
[frames] | no frames]

Class Block

source code

     object --+    
              |    
GeneratedsSuper --+
                  |
                 Block

Block is a Structured_Text element consisting of one of Text_Title, Text, Code_Example_Language, or Code followed by another Block element. Structured_Text elements help define whitespace and text segments. This attribute identifies the nature of the content containedwithin the Block.

Instance Methods [hide private]
 
__init__(self, Block_Nature=None, Text_Title=None, Text=None, Code_Example_Language=None, Code=None, Images=None, Block=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_Text_Title(self) source code
 
set_Text_Title(self, Text_Title) source code
 
add_Text_Title(self, value) source code
 
insert_Text_Title(self, index, value) source code
 
get_Text(self) source code
 
set_Text(self, Text) source code
 
add_Text(self, value) source code
 
insert_Text(self, index, value) source code
 
get_Code_Example_Language(self) source code
 
set_Code_Example_Language(self, Code_Example_Language) source code
 
add_Code_Example_Language(self, value) source code
 
insert_Code_Example_Language(self, index, value) source code
 
validate_LanguageEnum(self, value) source code
 
get_Code(self) source code
 
set_Code(self, Code) source code
 
add_Code(self, value) source code
 
insert_Code(self, index, value) source code
 
get_Images(self) source code
 
set_Images(self, Images) source code
 
get_Block(self) source code
 
set_Block(self, Block) source code
 
get_Block_Nature(self) source code
 
set_Block_Nature(self, Block_Nature) source code
 
export(self, outfile, level, namespace_='maec:', name_='Block', namespacedef_='') source code
 
exportAttributes(self, outfile, level, already_processed, namespace_='maec:', name_='Block') source code
 
exportChildren(self, outfile, level, namespace_='maec:', name_='Block', fromsubclass_=False) source code
 
hasContent_(self) source code
 
exportLiteral(self, outfile, level, name_='Block') source code
 
exportLiteralAttributes(self, outfile, level, already_processed, name_) source code
 
exportLiteralChildren(self, outfile, level, name_) source code
 
build(self, node) source code
 
buildAttributes(self, node, attrs, already_processed) source code
 
buildChildren(self, child_, node, nodeName_, fromsubclass_=False) source code

Inherited from GeneratedsSuper: gds_build_any, gds_format_boolean, gds_format_boolean_list, gds_format_double, gds_format_double_list, gds_format_float, gds_format_float_list, gds_format_integer, gds_format_integer_list, gds_format_string, gds_str_lower, gds_validate_boolean, gds_validate_boolean_list, gds_validate_double, gds_validate_double_list, gds_validate_float, gds_validate_float_list, gds_validate_integer, gds_validate_integer_list, gds_validate_string, get_class_obj_, get_path_, get_path_list_

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
factory(*args_, **kwargs_) source code
Class Variables [hide private]
  subclass = None
hash(x)
  superclass = None
hash(x)

Inherited from GeneratedsSuper: Tag_strip_pattern_

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, Block_Nature=None, Text_Title=None, Text=None, Code_Example_Language=None, Code=None, Images=None, Block=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)