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

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

public class TQDomDocument extends TQDomNode  {
	protected TQDomDocument(Class dummy){super((Class) null);}
	public TQDomDocument() {
		super((Class) null);
		newTQDomDocument();
	}
	private native void newTQDomDocument();
	public TQDomDocument(String name) {
		super((Class) null);
		newTQDomDocument(name);
	}
	private native void newTQDomDocument(String name);
	public TQDomDocument(TQDomDocumentType doctype) {
		super((Class) null);
		newTQDomDocument(doctype);
	}
	private native void newTQDomDocument(TQDomDocumentType doctype);
	public TQDomDocument(TQDomDocument x) {
		super((Class) null);
		newTQDomDocument(x);
	}
	private native void newTQDomDocument(TQDomDocument x);
	public native TQDomElement createElement(String tagName);
	public native TQDomDocumentFragment createDocumentFragment();
	public native TQDomText createTextNode(String data);
	public native TQDomComment createComment(String data);
	public native TQDomCDATASection createCDATASection(String data);
	public native TQDomProcessingInstruction createProcessingInstruction(String target, String data);
	public native TQDomAttr createAttribute(String name);
	public native TQDomEntityReference createEntityReference(String name);
	public native ArrayList elementsByTagName(String tagname);
	public native TQDomNode importNode(TQDomNode importedNode, boolean deep);
	public native TQDomElement createElementNS(String nsURI, String qName);
	public native TQDomAttr createAttributeNS(String nsURI, String qName);
	public native ArrayList elementsByTagNameNS(String nsURI, String localName);
	public native TQDomElement elementById(String elementId);
	public native TQDomDocumentType doctype();
	public native TQDomImplementation implementation();
	public native TQDomElement 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(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg);
	public native boolean setContent(TQIODeviceInterface 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(TQIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg);
	public native boolean setContent(TQIODeviceInterface dev);
	public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
	public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg, int[] errorLine);
	public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg);
	public native boolean setContent(TQXmlInputSource source, TQXmlReader 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();
}
