//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.ArrayList;

public class QDomNode implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QDomNode(Class dummy){}

	public static final int ElementNode = 1;
	public static final int AttributeNode = 2;
	public static final int TextNode = 3;
	public static final int CDATASectionNode = 4;
	public static final int EntityReferenceNode = 5;
	public static final int EntityNode = 6;
	public static final int ProcessingInstructionNode = 7;
	public static final int CommentNode = 8;
	public static final int DocumentNode = 9;
	public static final int DocumentTypeNode = 10;
	public static final int DocumentFragmentNode = 11;
	public static final int NotationNode = 12;
	public static final int BaseNode = 21;
	public static final int CharacterDataNode = 22;

	public QDomNode() {
		newQDomNode();
	}
	private native void newQDomNode();
	public QDomNode(QDomNode arg1) {
		newQDomNode(arg1);
	}
	private native void newQDomNode(QDomNode arg1);
	public native boolean op_equals(QDomNode arg1);
	public native boolean op_not_equals(QDomNode arg1);
	public native QDomNode insertBefore(QDomNode newChild, QDomNode refChild);
	public native QDomNode insertAfter(QDomNode newChild, QDomNode refChild);
	public native QDomNode replaceChild(QDomNode newChild, QDomNode oldChild);
	public native QDomNode removeChild(QDomNode oldChild);
	public native QDomNode appendChild(QDomNode newChild);
	public native boolean hasChildNodes();
	public native QDomNode cloneNode(boolean deep);
	public native QDomNode cloneNode();
	public native void normalize();
	public native boolean isSupported(String feature, String version);
	public native String nodeName();
	public native int nodeType();
	public native QDomNode parentNode();
	public native ArrayList childNodes();
	public native QDomNode firstChild();
	public native QDomNode lastChild();
	public native QDomNode previousSibling();
	public native QDomNode nextSibling();
	public native QDomNamedNodeMap attributes();
	public native QDomDocument ownerDocument();
	public native String namespaceURI();
	public native String localName();
	public native boolean hasAttributes();
	public native String nodeValue();
	public native void setNodeValue(String arg1);
	public native String prefix();
	public native void setPrefix(String pre);
	public native boolean isAttr();
	public native boolean isCDATASection();
	public native boolean isDocumentFragment();
	public native boolean isDocument();
	public native boolean isDocumentType();
	public native boolean isElement();
	public native boolean isEntityReference();
	public native boolean isText();
	public native boolean isEntity();
	public native boolean isNotation();
	public native boolean isProcessingInstruction();
	public native boolean isCharacterData();
	public native boolean isComment();
	/**	
		 Shortcut to avoid dealing with QDomArrayList
		 all the time.
		     		@short    Shortcut to avoid dealing with QDomNodeList  all the time.
	*/
	public native QDomNode namedItem(String name);
	public native boolean isNull();
	public native void clear();
	public native QDomAttr toAttr();
	public native QDomCDATASection toCDATASection();
	public native QDomDocumentFragment toDocumentFragment();
	public native QDomDocument toDocument();
	public native QDomDocumentType toDocumentType();
	public native QDomElement toElement();
	public native QDomEntityReference toEntityReference();
	public native QDomText toText();
	public native QDomEntity toEntity();
	public native QDomNotation toNotation();
	public native QDomProcessingInstruction toProcessingInstruction();
	public native QDomCharacterData toCharacterData();
	public native QDomComment toComment();
	public native void save(QTextStream arg1, int arg2);
	// QDomNode* QDomNode(QDomNodePrivate* arg1); >>>> NOT CONVERTED
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
