/***************************************************************************
                            QDomElement.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 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 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

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

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class QDomElement extends QDomNode  {
	protected QDomElement(Class dummy){super((Class) null);}

	private native void newQDomElement();
	public QDomElement() {
		super((Class) null);
		newQDomElement();
	}
	private native void newQDomElement( QDomElement x);
	public QDomElement( QDomElement x) {
		super((Class) null);
		newQDomElement( x);
	}
	protected native void finalize() throws InternalError;
	public native String attribute( String name, String defValue);
	public native void setAttribute( String name, String value);
	public native void setAttribute( String name, int value);
//	public native void setAttribute( String name, int value);
	public native void setAttribute( String name, double value);
	public native void removeAttribute( String name);
	public native QDomAttr attributeNode( String name);
	public native QDomAttr setAttributeNode( QDomAttr newAttr);
	public native QDomAttr removeAttributeNode( QDomAttr oldAttr);
	public native ArrayList elementsByTagName( String tagname);
	public native boolean hasAttribute( String name);
	public native String attributeNS( String nsURI, String localName, String defValue);
	public native void setAttributeNS( String nsURI, String qName, String value);
	public native void setAttributeNS( String nsURI, String qName, int value);
//	public native void setAttributeNS( String nsURI, String qName, int value);
	public native void setAttributeNS( String nsURI, String qName, double value);
	public native void removeAttributeNS( String nsURI, String localName);
	public native QDomAttr attributeNodeNS( String nsURI, String localName);
	public native QDomAttr setAttributeNodeNS( QDomAttr newAttr);
	public native ArrayList elementsByTagNameNS( String nsURI, String localName);
	public native boolean hasAttributeNS( String nsURI, String localName);
	public native String tagName();
	public native void setTagName( String name);
	public native QDomNamedNodeMap attributes();
	public native int nodeType();
	public native boolean isElement();
	public native String text();
}
