/***************************************************************************
                            QDomElement.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QDOMELEMENT_H
#define QDOMELEMENT_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QDomNode.h>

@interface QDomElement : QDomNode 
- init;
- copyWithZone: (NSZone *) zone;
- (void) dealloc;
- (NSString *) attribute: (NSString *)name defValue: (NSString *)defValue;
- setAttribute: (NSString *)name textValue: (NSString *)value;
- setAttribute: (NSString *)name intValue: (int)value;
- setAttribute: (NSString *)name unsignedIntValue: (unsigned int)value;
- setAttribute: (NSString *)name doubleValue: (double)value;
- removeAttribute: (NSString *)name;
- (QDomAttr*) attributeNode: (NSString *)name;
- (QDomAttr*) setAttributeNode: (QDomAttr*)newAttr;
- (QDomAttr*) removeAttributeNode: (QDomAttr*)oldAttr;
- (NSArray *) elementsByTagName: (NSString *)tagname;
- (BOOL) hasAttribute: (NSString *)name;
- (NSString *) attributeNS: (NSString *)nsURI localName: (NSString *)localName defValue: (NSString *)defValue;
- setAttributeNS: (NSString *)nsURI qName: (NSString *)qName stringValue: (NSString *)value;
- setAttributeNS: (NSString *)nsURI qName: (NSString *)qName intValue: (int)value;
- setAttributeNS: (NSString *)nsURI qName: (NSString *)qName unsignedIntValue: (unsigned int)value;
- setAttributeNS: (NSString *)nsURI qName: (NSString *)qName doubleValue: (double)value;
- removeAttributeNS: (NSString *)nsURI localName: (NSString *)localName;
- (QDomAttr*) attributeNodeNS: (NSString *)nsURI localName: (NSString *)localName;
- (QDomAttr*) setAttributeNodeNS: (QDomAttr*)newAttr;
- (NSArray *) elementsByTagNameNS: (NSString *)nsURI localName: (NSString *)localName;
- (BOOL) hasAttributeNS: (NSString *)nsURI localName: (NSString *)localName;
- (NSString *) tagName;
- setTagName: (NSString *)name;
- (QDomNamedNodeMap*) attributes;
- (int) nodeType;
- (BOOL) isElement;
- (NSString *) text;
@end

#endif
