Rubber-stamped by Brady Eidson.
[webbrowser.git] / WebCore / html / HTMLAnchorElement.idl
blobe55bd86ce1166e437cc2f715dfdf35e47f7ab863
1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
21 module html {
23 interface [
24 GenerateConstructor,
25 InterfaceUUID=0c74cef8-b1f7-4b44-83a9-8deeb376a257,
26 ImplementationUUID=30f797d5-d145-498e-a126-d8e9ddeedea3
27 ] HTMLAnchorElement : HTMLElement {
28 attribute [ConvertNullToNullString, Reflect=accesskey] DOMString accessKey;
29 attribute [ConvertNullToNullString, Reflect] DOMString charset;
30 attribute [ConvertNullToNullString, Reflect] DOMString coords;
31 attribute [ConvertNullToNullString, ReflectURL] DOMString href;
32 attribute [ConvertNullToNullString, Reflect] DOMString hreflang;
33 attribute [ConvertNullToNullString, Reflect] DOMString name;
34 attribute [ConvertNullToNullString, Reflect] DOMString rel;
35 attribute [ConvertNullToNullString, Reflect] DOMString rev;
36 attribute [ConvertNullToNullString, Reflect] DOMString shape;
37 attribute [ConvertNullToNullString, Reflect] DOMString target;
38 attribute [ConvertNullToNullString, Reflect] DOMString type;
40 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
41 readonly attribute DOMString hash;
42 readonly attribute DOMString host;
43 readonly attribute DOMString hostname;
44 readonly attribute DOMString pathname;
45 readonly attribute DOMString port;
46 readonly attribute DOMString protocol;
47 readonly attribute DOMString search;
48 #else
49 attribute [ConvertNullToNullString] DOMString hash;
50 attribute [ConvertNullToNullString] DOMString host;
51 attribute [ConvertNullToNullString] DOMString hostname;
52 attribute [ConvertNullToNullString] DOMString pathname;
53 attribute [ConvertNullToNullString] DOMString port;
54 attribute [ConvertNullToNullString] DOMString protocol;
55 attribute [ConvertNullToNullString] DOMString search;
56 #endif
58 readonly attribute DOMString text;
60 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
61 [DontEnum] DOMString toString();
62 #endif
64 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
65 // Objective-C extension:
66 readonly attribute URL absoluteLinkURL;
67 #endif