umbrello 26.07.70-c53146a Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

javaantcodedocument.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5 SPDX-FileCopyrightText: 2004-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef JAVAANTCODEDOCUMENT_H
9#define JAVAANTCODEDOCUMENT_H
10
11#include "codedocument.h"
12
13#include <QDomDocument>
14#include <QDomElement>
15#include <QString>
16#include <QXmlStreamWriter>
17
22 class JavaANTCodeDocument : public CodeDocument
23{
24 Q_OBJECT
25 public:
26
30 JavaANTCodeDocument ();
31
35 virtual ~JavaANTCodeDocument ();
36
37 QString getPath () const;
38
39 void updateContent();
40
44 virtual void saveToXMI(QXmlStreamWriter& writer);
45
49 virtual void loadFromXMI (QDomElement & root);
50
55 virtual HierarchicalCodeBlock * newHierarchicalCodeBlock ();
56
57 //**
58 // * Create a new CodeBlockWithComments object belonging to this CodeDocument.
59 // * @return CodeBlockWithComments
60 // */
61 // virtual CodeBlockWithComments * newCodeBlockWithComments ();
62
63 protected:
64
69 virtual void setAttributesOnNode (QXmlStreamWriter& writer);
70
75 virtual void setAttributesFromNode (QDomElement & element);
76
81 virtual void loadChildTextBlocksFromNode (QDomElement & root);
82
83 private:
84
85};
86
87#endif // JAVAANTCODEDOCUMENT_H
CodeDocument
Definition: codedocument.h:30
HierarchicalCodeBlock
Definition: hierarchicalcodeblock.h:21
JavaANTCodeDocument
Definition: javaantcodedocument.h:23
JavaANTCodeDocument::newHierarchicalCodeBlock
virtual HierarchicalCodeBlock * newHierarchicalCodeBlock()
Definition: javaantcodedocument.cpp:48
JavaANTCodeDocument::JavaANTCodeDocument
JavaANTCodeDocument()
Definition: javaantcodedocument.cpp:26
JavaANTCodeDocument::setAttributesFromNode
virtual void setAttributesFromNode(QDomElement &element)
Definition: javaantcodedocument.cpp:179
JavaANTCodeDocument::updateContent
void updateContent()
Definition: javaantcodedocument.cpp:222
JavaANTCodeDocument::saveToXMI
virtual void saveToXMI(QXmlStreamWriter &writer)
Definition: javaantcodedocument.cpp:211
JavaANTCodeDocument::~JavaANTCodeDocument
virtual ~JavaANTCodeDocument()
Definition: javaantcodedocument.cpp:33
JavaANTCodeDocument::setAttributesOnNode
virtual void setAttributesOnNode(QXmlStreamWriter &writer)
Definition: javaantcodedocument.cpp:199
JavaANTCodeDocument::loadChildTextBlocksFromNode
virtual void loadChildTextBlocksFromNode(QDomElement &root)
Definition: javaantcodedocument.cpp:57
JavaANTCodeDocument::loadFromXMI
virtual void loadFromXMI(QDomElement &root)
Definition: javaantcodedocument.cpp:191
JavaANTCodeDocument::getPath
QString getPath() const
Definition: javaantcodedocument.cpp:255
codedocument.h