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

import org.trinitydesktop.qt.TQt;
import java.util.ArrayList;

public class TQDomNode implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQDomNode(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 TQDomNode() {
		newTQDomNode();
	}
	private native void newTQDomNode();
	public TQDomNode(TQDomNode arg1) {
		newTQDomNode(arg1);
	}
	private native void newTQDomNode(TQDomNode arg1);
	public native boolean op_equals(TQDomNode arg1);
	public native boolean op_not_equals(TQDomNode arg1);
	public native TQDomNode insertBefore(TQDomNode newChild, TQDomNode refChild);
	public native TQDomNode insertAfter(TQDomNode newChild, TQDomNode refChild);
	public native TQDomNode replaceChild(TQDomNode newChild, TQDomNode oldChild);
	public native TQDomNode removeChild(TQDomNode oldChild);
	public native TQDomNode appendChild(TQDomNode newChild);
	public native boolean hasChildNodes();
	public native TQDomNode cloneNode(boolean deep);
	public native TQDomNode cloneNode();
	public native void normalize();
	public native boolean isSupported(String feature, String version);
	public native String nodeName();
	public native int nodeType();
	public native TQDomNode parentNode();
	public native ArrayList childNodes();
	public native TQDomNode firstChild();
	public native TQDomNode lastChild();
	public native TQDomNode previousSibling();
	public native TQDomNode nextSibling();
	public native TQDomNamedNodeMap attributes();
	public native TQDomDocument 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 TQDomArrayList
		 all the time.
		     		@short    Shortcut to avoid dealing with TQDomNodeList  all the time.
	*/
	public native TQDomNode namedItem(String name);
	public native boolean isNull();
	public native void clear();
	public native TQDomAttr toAttr();
	public native TQDomCDATASection toCDATASection();
	public native TQDomDocumentFragment toDocumentFragment();
	public native TQDomDocument toDocument();
	public native TQDomDocumentType toDocumentType();
	public native TQDomElement toElement();
	public native TQDomEntityReference toEntityReference();
	public native TQDomText toText();
	public native TQDomEntity toEntity();
	public native TQDomNotation toNotation();
	public native TQDomProcessingInstruction toProcessingInstruction();
	public native TQDomCharacterData toCharacterData();
	public native TQDomComment toComment();
	public native void save(TQTextStream arg1, int arg2);
	// TQDomNode* TQDomNode(TQDomNodePrivate* 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();
}
