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

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

public class QDomDocument extends QDomNode  {
	protected QDomDocument(Class dummy){super((Class) null);}
	public QDomDocument() {
		super((Class) null);
		newQDomDocument();
	}
	private native void newQDomDocument();
	public QDomDocument(String name) {
		super((Class) null);
		newQDomDocument(name);
	}
	private native void newQDomDocument(String name);
	public QDomDocument(QDomDocumentType doctype) {
		super((Class) null);
		newQDomDocument(doctype);
	}
	private native void newQDomDocument(QDomDocumentType doctype);
	public QDomDocument(QDomDocument x) {
		super((Class) null);
		newQDomDocument(x);
	}
	private native void newQDomDocument(QDomDocument x);
	public native QDomElement createElement(String tagName);
	public native QDomDocumentFragment createDocumentFragment();
	public native QDomText createTextNode(String data);
	public native QDomComment createComment(String data);
	public native QDomCDATASection createCDATASection(String data);
	public native QDomProcessingInstruction createProcessingInstruction(String target, String data);
	public native QDomAttr createAttribute(String name);
	public native QDomEntityReference createEntityReference(String name);
	public native ArrayList elementsByTagName(String tagname);
	public native QDomNode importNode(QDomNode importedNode, boolean deep);
	public native QDomElement createElementNS(String nsURI, String qName);
	public native QDomAttr createAttributeNS(String nsURI, String qName);
	public native ArrayList elementsByTagNameNS(String nsURI, String localName);
	public native QDomElement elementById(String elementId);
	public native QDomDocumentType doctype();
	public native QDomImplementation implementation();
	public native QDomElement documentElement();
	public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg);
	public native boolean setContent(String text, boolean namespaceProcessing);
	public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg);
	public native boolean setContent(byte[] text, boolean namespaceProcessing);
	public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg);
	public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing);
	public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(String text, StringBuffer errorMsg);
	public native boolean setContent(String text);
	public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(byte[] text, StringBuffer errorMsg);
	public native boolean setContent(byte[] text);
	public native boolean setContent(QIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(QIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(QIODeviceInterface dev, StringBuffer errorMsg);
	public native boolean setContent(QIODeviceInterface dev);
	public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg);
	public native boolean setContent(QXmlInputSource source, QXmlReader reader);
	public native int nodeType();
	public native boolean isDocument();
	public native String toString();
	public native String toString(int arg1);
	public native String toCString();
	public native String toCString(int arg1);
	/** 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();
}
