Exemplo n.º 1
0
/**
 * Save the XMI representation of this object
 */
void CPPCodeDocumentation::saveToXMI(QDomDocument & doc, QDomElement & root)
{
    QDomElement blockElement = doc.createElement(QLatin1String("cppcodedocumentation"));
    setAttributesOnNode(doc, blockElement); // as we added no additional fields to this class we may
    // just use parent TextBlock method
    root.appendChild(blockElement);
}
Exemplo n.º 2
0
/**
 * Save the XMI representation of this object
 */
void XMLElementCodeBlock::saveToXMI ( QDomDocument & doc, QDomElement & root ) {
    QDomElement blockElement = doc.createElement( "xmlelementblock" );

    setAttributesOnNode(doc, blockElement);

    root.appendChild( blockElement );
}
Exemplo n.º 3
0
/**
 * Save the XMI representation of this object
 */
void CodeComment::saveToXMI ( QDomDocument & doc, QDomElement & root ) {
    kDebug() << "CodeComment::saveToXMI is called!" << endl;
    QDomElement blockElement = doc.createElement( "codecomment" );
    setAttributesOnNode(doc, blockElement); // as we added no additional fields to this class we may
    // just use parent TextBlock method
    root.appendChild( blockElement );
}
Exemplo n.º 4
0
/**
 * Save the XMI representation of this object.
 */
void CodeOperation::saveToXMI (QDomDocument & doc, QDomElement & root)
{
    QDomElement blockElement = doc.createElement(QLatin1String("codeoperation"));
    // set attributes
    setAttributesOnNode(doc, blockElement);
    root.appendChild(blockElement);
}
/**
 * Save the XMI representation of this object
 */
void JavaClassDeclarationBlock::saveToXMI ( QDomDocument & doc, QDomElement & root ) {
    QDomElement blockElement = doc.createElement( "javaclassdeclarationblock" );

    setAttributesOnNode(doc, blockElement);

    root.appendChild( blockElement );
}
/**
 * Save the XMI representation of this object
 */
void CPPHeaderClassDeclarationBlock::saveToXMI (QDomDocument & doc, QDomElement & root)
{
    QDomElement blockElement = doc.createElement(QLatin1String("cppheaderclassdeclarationblock"));

    setAttributesOnNode(doc, blockElement);

    root.appendChild(blockElement);
}
Exemplo n.º 7
0
/**
 * Save the XMI representation of this object
 */
void JavaANTCodeDocument::saveToXMI (QDomDocument & doc, QDomElement & root)
{
    QDomElement docElement = doc.createElement(QLatin1String("codedocument"));

    setAttributesOnNode(doc, docElement);

    root.appendChild(docElement);
}
/**
 * Save the XMI representation of this object.
 */
void CodeClassFieldDeclarationBlock::saveToXMI(QDomDocument & doc, QDomElement & elem)
{
    QDomElement docElement = doc.createElement(QLatin1String("ccfdeclarationcodeblock"));
    setAttributesOnNode(doc, docElement);
    elem.appendChild(docElement);
}