JavaANTCodeDocument Class Reference
class JavaANTCodeDocument Represents More...
#include <javaantcodedocument.h>
Inheritance diagram for JavaANTCodeDocument:

Public Member Functions | |
| JavaANTCodeDocument () | |
| Constructor. | |
| virtual | ~JavaANTCodeDocument () |
| Empty Destructor. | |
| QString | getPath () |
| Get the value of the path to this codedocument. | |
| void | updateContent () |
| virtual void | saveToXMI (QDomDocument &doc, QDomElement &root) |
| Save the XMI representation of this object. | |
| virtual void | loadFromXMI (QDomElement &root) |
| load params from the appropriate XMI element node. | |
| virtual HierarchicalCodeBlock * | newHierarchicalCodeBlock () |
| create a new HierarchicalCodeBlock object belonging to this CodeDocument. | |
Protected Member Functions | |
| virtual void | setAttributesOnNode (QDomDocument &doc, QDomElement &blockElement) |
| set attributes of the node that represents this class in the XMI document. | |
| virtual void | setAttributesFromNode (QDomElement &element) |
| set the class attributes of this object from the passed element node. | |
| virtual void | loadChildTextBlocksFromNode (QDomElement &root) |
| need to overwrite this for java since we need to pick up the xml declaration blocks. | |
Detailed Description
class JavaANTCodeDocument Represents
Definition at line 32 of file javaantcodedocument.h.
Constructor & Destructor Documentation
|
|
Constructor.
Definition at line 36 of file javaantcodedocument.cpp. References CodeDocument::setFileExtension(), CodeDocument::setFileName(), and CodeDocument::setID(). |
|
|
Empty Destructor.
Definition at line 43 of file javaantcodedocument.cpp. |
Member Function Documentation
|
|
Get the value of the path to this codedocument.
Reimplemented from CodeDocument. Definition at line 291 of file javaantcodedocument.cpp. References CodeDocument::getPackage(). |
|
||||||||||||
|
Save the XMI representation of this object.
Reimplemented from CodeDocument. Definition at line 248 of file javaantcodedocument.cpp. References setAttributesOnNode(). |
|
|
load params from the appropriate XMI element node.
Reimplemented from CodeDocument. Definition at line 228 of file javaantcodedocument.cpp. References setAttributesFromNode(). |
|
|
create a new HierarchicalCodeBlock object belonging to this CodeDocument.
Reimplemented from CodeDocument. Definition at line 62 of file javaantcodedocument.cpp. Referenced by loadChildTextBlocksFromNode(). |
|
||||||||||||
|
set attributes of the node that represents this class in the XMI document.
Reimplemented from CodeDocument. Definition at line 235 of file javaantcodedocument.cpp. References CodeDocument::setAttributesOnNode(). Referenced by saveToXMI(). |
|
|
set the class attributes of this object from the passed element node.
Reimplemented from CodeDocument. Definition at line 214 of file javaantcodedocument.cpp. References CodeDocument::setAttributesFromNode(). Referenced by loadFromXMI(). |
|
|
need to overwrite this for java since we need to pick up the xml declaration blocks.
Reimplemented from CodeGenObjectWithTextBlocks. Definition at line 70 of file javaantcodedocument.cpp. References CodeGenObjectWithTextBlocks::addTextBlock(), UMLDoc::findObjectById(), UMLApp::getDocument(), CodeDocument::getFileName(), UMLObject::loadFromXMI(), CodeBlockWithComments::loadFromXMI(), CodeBlock::loadFromXMI(), CodeComment::loadFromXMI(), CodeDocument::newCodeBlock(), CodeDocument::newCodeBlockWithComments(), and newHierarchicalCodeBlock(). |
The documentation for this class was generated from the following files:
