001: /* ***** BEGIN LICENSE BLOCK *****
002: * Version: MPL 1.1
003: *
004: * The contents of this file are subject to the Mozilla Public License Version
005: * 1.1 (the "License"); you may not use this file except in compliance with
006: * the License. You may obtain a copy of the License at
007: * http://www.mozilla.org/MPL/
008: *
009: * Software distributed under the License is distributed on an "AS IS" basis,
010: * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
011: * for the specific language governing rights and limitations under the
012: * License.
013: *
014: * The Original Code is Mozilla Communicator client code, released March 31, 1998.
015: *
016: * The Initial Developer of the Original Code is
017: * Netscape Communications Corporation.
018: * Portions created by Netscape are Copyright (C) 1998-1999
019: * Netscape Communications Corporation. All Rights Reserved.
020: *
021: * Contributor(s):
022: *
023: * IBM
024: * - Binding to permit interfacing between Mozilla and SWT
025: * - Copyright (C) 2003, 2005 IBM Corp. All Rights Reserved.
026: *
027: * ***** END LICENSE BLOCK ***** */
028: package org.eclipse.swt.internal.mozilla;
029:
030: public class nsIURI extends nsISupports {
031:
032: static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 26;
033:
034: public static final String NS_IURI_IID_STR = "07a22cc0-0ce5-11d3-9331-00104ba0fd40";
035:
036: public static final nsID NS_IURI_IID = new nsID(NS_IURI_IID_STR);
037:
038: public nsIURI(int /*long*/address) {
039: super (address);
040: }
041:
042: public int GetSpec(int /*long*/aSpec) {
043: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1,
044: getAddress(), aSpec);
045: }
046:
047: public int SetSpec(int /*long*/aSpec) {
048: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2,
049: getAddress(), aSpec);
050: }
051:
052: public int GetPrePath(int /*long*/aPrePath) {
053: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3,
054: getAddress(), aPrePath);
055: }
056:
057: public int GetScheme(int /*long*/aScheme) {
058: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4,
059: getAddress(), aScheme);
060: }
061:
062: public int SetScheme(int /*long*/aScheme) {
063: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5,
064: getAddress(), aScheme);
065: }
066:
067: public int GetUserPass(int /*long*/aUserPass) {
068: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 6,
069: getAddress(), aUserPass);
070: }
071:
072: public int SetUserPass(int /*long*/aUserPass) {
073: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 7,
074: getAddress(), aUserPass);
075: }
076:
077: public int GetUsername(int /*long*/aUsername) {
078: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 8,
079: getAddress(), aUsername);
080: }
081:
082: public int SetUsername(int /*long*/aUsername) {
083: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 9,
084: getAddress(), aUsername);
085: }
086:
087: public int GetPassword(int /*long*/aPassword) {
088: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 10,
089: getAddress(), aPassword);
090: }
091:
092: public int SetPassword(int /*long*/aPassword) {
093: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 11,
094: getAddress(), aPassword);
095: }
096:
097: public int GetHostPort(int /*long*/aHostPort) {
098: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 12,
099: getAddress(), aHostPort);
100: }
101:
102: public int SetHostPort(int /*long*/aHostPort) {
103: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 13,
104: getAddress(), aHostPort);
105: }
106:
107: public int GetHost(int /*long*/aHost) {
108: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 14,
109: getAddress(), aHost);
110: }
111:
112: public int SetHost(int /*long*/aHost) {
113: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 15,
114: getAddress(), aHost);
115: }
116:
117: public int GetPort(int[] aPort) {
118: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 16,
119: getAddress(), aPort);
120: }
121:
122: public int SetPort(int aPort) {
123: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 17,
124: getAddress(), aPort);
125: }
126:
127: public int GetPath(int /*long*/aPath) {
128: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 18,
129: getAddress(), aPath);
130: }
131:
132: public int SetPath(int /*long*/aPath) {
133: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 19,
134: getAddress(), aPath);
135: }
136:
137: public int Equals(int /*long*/other, boolean[] _retval) {
138: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 20,
139: getAddress(), other, _retval);
140: }
141:
142: public int SchemeIs(byte[] scheme, boolean[] _retval) {
143: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 21,
144: getAddress(), scheme, _retval);
145: }
146:
147: public int Clone(int /*long*/[] _retval) {
148: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 22,
149: getAddress(), _retval);
150: }
151:
152: public int Resolve(int /*long*/relativePath, int /*long*/_retval) {
153: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 23,
154: getAddress(), relativePath, _retval);
155: }
156:
157: public int GetAsciiSpec(int /*long*/aAsciiSpec) {
158: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 24,
159: getAddress(), aAsciiSpec);
160: }
161:
162: public int GetAsciiHost(int /*long*/aAsciiHost) {
163: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 25,
164: getAddress(), aAsciiHost);
165: }
166:
167: public int GetOriginCharset(int /*long*/aOriginCharset) {
168: return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 26,
169: getAddress(), aOriginCharset);
170: }
171: }
|