/***************************************************************************
                            ProcessingInstruction.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, 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.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 The <code> ProcessingInstruction </code> interface represents a
 &quot;processing instruction&quot;, used in XML as a way to keep
 processor-specific information in the text of the document.

 
 @short 
 The <code> ProcessingInstruction </code> interface represents a
 &quot;processing instruction&quot;, used in XML as a way to keep
 processor-specific information in the text of the document.
*/
public class ProcessingInstruction extends DOMNode  {
	protected ProcessingInstruction(Class dummy){super((Class) null);}

	private native void newProcessingInstruction();
	public ProcessingInstruction() {
		super((Class) null);
		newProcessingInstruction();
	}
	private native void newProcessingInstruction( ProcessingInstruction other);
	public ProcessingInstruction( ProcessingInstruction other) {
		super((Class) null);
		newProcessingInstruction( other);
	}
	private native void newProcessingInstruction( DOMNode other);
	public ProcessingInstruction( DOMNode other) {
		super((Class) null);
		newProcessingInstruction( other);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();

/** 
 The target of this processing instruction. XML defines this as
 being the first token following the markup that begins the
 processing instruction.

     
*/
	public native String target();

/** 
 The content of this processing instruction. This is from the
 first non white space character after the target to the
 character immediately preceding the <code> ?&gt; </code> .

     
*/
	public native String data();

/** 
 see {@link data}

     
*/
	public native void setData( String arg1);

/** 
 Introduced in DOM Level 2
 This method is from the LinkStyle interface

 The style sheet.
     
*/
	public native StyleSheet sheet();
}
