1 module org.eclipse.swt.internal.mozilla.nsIDOMSerializer; 2 3 import java.lang.all; 4 5 import org.eclipse.swt.internal.mozilla.Common; 6 import org.eclipse.swt.internal.mozilla.nsID; 7 import org.eclipse.swt.internal.mozilla.nsISupports; 8 import org.eclipse.swt.internal.mozilla.nsIOutputStream; 9 import org.eclipse.swt.internal.mozilla.nsIDOMNode; 10 import org.eclipse.swt.internal.mozilla.nsStringAPI; 11 12 const char[] NS_IDOMSERIALIZER_IID_STR = "a6cf9123-15b3-11d2-932e-00805f8add32"; 13 14 const nsIID NS_IDOMSERIALIZER_IID= 15 {0xa6cf9123, 0x15b3, 0x11d2, 16 [ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 ]}; 17 18 interface nsIDOMSerializer : nsISupports { 19 20 static const char[] IID_STR = NS_IDOMSERIALIZER_IID_STR; 21 static const nsIID IID = NS_IDOMSERIALIZER_IID; 22 23 extern(System): 24 25 nsresult SerializeToString(nsIDOMNode root, PRUnichar ** _retval); 26 nsresult SerializeToStream(nsIDOMNode root, nsIOutputStream stream, char* charset); 27 28 } 29