umbrello/umbrello
JavaANTCodeDocument Class Reference
#include <javaantcodedocument.h>

Detailed Description
class JavaANTCodeDocument RepresentsDefinition at line 32 of file javaantcodedocument.h.
Public Member Functions | |
| JavaANTCodeDocument () | |
| virtual | ~JavaANTCodeDocument () |
| QString | getPath () |
| void | updateContent () |
| virtual void | saveToXMI (QDomDocument &doc, QDomElement &root) |
| virtual void | loadFromXMI (QDomElement &root) |
| virtual HierarchicalCodeBlock * | newHierarchicalCodeBlock () |
Protected Member Functions | |
| virtual void | setAttributesOnNode (QDomDocument &doc, QDomElement &blockElement) |
| virtual void | setAttributesFromNode (QDomElement &element) |
| virtual void | loadChildTextBlocksFromNode (QDomElement &root) |
Constructor & Destructor Documentation
| JavaANTCodeDocument::JavaANTCodeDocument | ( | ) |
| JavaANTCodeDocument::~JavaANTCodeDocument | ( | ) | [virtual] |
Member Function Documentation
| QString JavaANTCodeDocument::getPath | ( | ) | [virtual] |
Get the value of the path to this code document.
- Returns:
- the value of m_pathName
Reimplemented from CodeDocument.
Definition at line 291 of file javaantcodedocument.cpp.
| void JavaANTCodeDocument::updateContent | ( | ) | [virtual] |
Update the content of this code document.
This is where you should lay out your code document structure of textblocks in the inheriting class, should it have any text in it.
Reimplemented from CodeDocument.
Definition at line 258 of file javaantcodedocument.cpp.
| void JavaANTCodeDocument::saveToXMI | ( | QDomDocument & | doc, | |
| QDomElement & | root | |||
| ) | [virtual] |
Save the XMI representation of this object.
Reimplemented from CodeDocument.
Definition at line 248 of file javaantcodedocument.cpp.
| void JavaANTCodeDocument::loadFromXMI | ( | QDomElement & | root | ) | [virtual] |
load params from the appropriate XMI element node.
Reimplemented from CodeDocument.
Definition at line 228 of file javaantcodedocument.cpp.
| HierarchicalCodeBlock * JavaANTCodeDocument::newHierarchicalCodeBlock | ( | ) | [virtual] |
create a new HierarchicalCodeBlock object belonging to this CodeDocument.
create a new CodeBlockWithComments object belonging to this CodeDocument.
Reimplemented from CodeDocument.
Definition at line 62 of file javaantcodedocument.cpp.
| void JavaANTCodeDocument::setAttributesOnNode | ( | QDomDocument & | doc, | |
| QDomElement & | blockElement | |||
| ) | [protected, virtual] |
create a new CodeBlockWithComments object belonging to this CodeDocument.
set attributes of the node that represents this class in the XMI document.
- Returns:
- CodeBlockWithComments set attributes of the node that represents this class in the XMI document.
Reimplemented from CodeDocument.
Definition at line 235 of file javaantcodedocument.cpp.
| void JavaANTCodeDocument::setAttributesFromNode | ( | QDomElement & | element | ) | [protected, virtual] |
set the class attributes of this object from the passed element node.
Reimplemented from CodeDocument.
Definition at line 214 of file javaantcodedocument.cpp.
| void JavaANTCodeDocument::loadChildTextBlocksFromNode | ( | QDomElement & | root | ) | [protected, virtual] |
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.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference