summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/webkit/DOMDocument.inc
blob: 879918c302b663d3d9f620580fe3b688255cbbf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{ Parsed from Webkit.framework DOMDocument.h }
{ Version: 2.1.4 - Sun Jan 2 15:08:41 CET 2011 }


{$ifdef TYPES}
{$ifndef DOMDOCUMENT_PAS_T}
{$define DOMDOCUMENT_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef DOMDOCUMENT_PAS_R}
{$define DOMDOCUMENT_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef DOMDOCUMENT_PAS_F}
{$define DOMDOCUMENT_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef DOMDOCUMENT_PAS_S}
{$define DOMDOCUMENT_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  DOMDocument = objcclass;
  DOMDocumentPointer = ^DOMDocument;
  DOMDocumentPtr = DOMDocumentPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef DOMDOCUMENT_PAS_C}
{$define DOMDOCUMENT_PAS_C}

{ DOMDocument }
  DOMDocument = objcclass external (DOMNode)
    
  public
    function doctype: DOMDocumentType; message 'doctype';
    function implementation_: DOMImplementation; message 'implementation_';
    function documentElement: DOMElement; message 'documentElement';
    function inputEncoding: NSString; message 'inputEncoding';
    function xmlEncoding: NSString; message 'xmlEncoding';
    procedure setXmlVersion (newValue: NSString); message 'setXmlVersion:';
    function xmlVersion: NSString; message 'xmlVersion';
    procedure setXmlStandalone (newValue: Boolean); message 'setXmlStandalone:';
    function xmlStandalone: Boolean; message 'xmlStandalone';
    procedure setDocumentURI (newValue: NSString); message 'setDocumentURI:';
    function documentURI: NSString; message 'documentURI';
    function defaultView: DOMAbstractView; message 'defaultView';
    function styleSheets: DOMStyleSheetList; message 'styleSheets';
    procedure setTitle (newValue: NSString); message 'setTitle:';
    function title: NSString; message 'title';
    function referrer: NSString; message 'referrer';
    function domain: NSString; message 'domain';
    function uRL: NSString; message 'uRL';
    procedure setCookie (newValue: NSString); message 'setCookie:';
    function cookie: NSString; message 'cookie';
    procedure setBody (newValue: DOMHTMLElement); message 'setBody:';
    function body: DOMHTMLElement; message 'body';
    function images: DOMHTMLCollection; message 'images';
    function applets: DOMHTMLCollection; message 'applets';
    function links: DOMHTMLCollection; message 'links';
    function forms: DOMHTMLCollection; message 'forms';
    function anchors: DOMHTMLCollection; message 'anchors';
    function lastModified: NSString; message 'lastModified';
    procedure setCharset (newValue: NSString); message 'setCharset:';
    function charset: NSString; message 'charset';
    function defaultCharset: NSString; message 'defaultCharset';
    function readyState: NSString; message 'readyState';
    function characterSet: NSString; message 'characterSet';
    function preferredStylesheetSet: NSString; message 'preferredStylesheetSet';
    procedure setSelectedStylesheetSet (newValue: NSString); message 'setSelectedStylesheetSet:';
    function selectedStylesheetSet: NSString; message 'selectedStylesheetSet';
    function createElement(tagName: NSString): DOMElement; message 'createElement:';
    function createDocumentFragment: DOMDocumentFragment; message 'createDocumentFragment';
    function createTextNode(data: NSString): DOMText; message 'createTextNode:';
    function createComment(data: NSString): DOMComment; message 'createComment:';
    function createCDATASection(data: NSString): DOMCDATASection; message 'createCDATASection:';
    function createProcessingInstruction_data(target: NSString; data: NSString): DOMProcessingInstruction; message 'createProcessingInstruction:data:';
    function createAttribute(name: NSString): DOMAttr; message 'createAttribute:';
    function createEntityReference(name: NSString): DOMEntityReference; message 'createEntityReference:';
    function getElementsByTagName(tagname: NSString): DOMNodeList; message 'getElementsByTagName:';
    function importNode_deep(importedNode: DOMNode; deep: Boolean): DOMNode; message 'importNode:deep:';
    function createElementNS_qualifiedName(namespaceURI_: NSString; qualifiedName: NSString): DOMElement; message 'createElementNS:qualifiedName:';
    function createAttributeNS_qualifiedName(namespaceURI_: NSString; qualifiedName: NSString): DOMAttr; message 'createAttributeNS:qualifiedName:';
    function getElementsByTagNameNS_localName(namespaceURI_: NSString; localName_: NSString): DOMNodeList; message 'getElementsByTagNameNS:localName:';
    function getElementById(elementId: NSString): DOMElement; message 'getElementById:';
    function adoptNode(source: DOMNode): DOMNode; message 'adoptNode:';
    function createEvent(eventType: NSString): DOMEvent; message 'createEvent:';
    function createRange: DOMRange; message 'createRange';
    function createNodeIterator_whatToShow_filter_expandEntityReferences(root: DOMNode; whatToShow: cuint; filter: id; expandEntityReferences: Boolean): DOMNodeIterator; message 'createNodeIterator:whatToShow:filter:expandEntityReferences:';
    function createTreeWalker_whatToShow_filter_expandEntityReferences(root: DOMNode; whatToShow: cuint; filter: id; expandEntityReferences: Boolean): DOMTreeWalker; message 'createTreeWalker:whatToShow:filter:expandEntityReferences:';
    function getOverrideStyle_pseudoElement(element: DOMElement; pseudoElement: NSString): DOMCSSStyleDeclaration; message 'getOverrideStyle:pseudoElement:';
    function createExpression_resolver(expression: NSString; resolver: id): DOMXPathExpression; message 'createExpression:resolver:';
    function createNSResolver(nodeResolver: DOMNode): id; message 'createNSResolver:';
    function evaluate_contextNode_resolver_type_inResult(expression: NSString; contextNode: DOMNode; resolver: id; type_: cushort; inResult: DOMXPathResult): DOMXPathResult; message 'evaluate:contextNode:resolver:type:inResult:';
    function execCommand_userInterface_value(command: NSString; userInterface: Boolean; value: NSString): Boolean; message 'execCommand:userInterface:value:';
    function execCommand_userInterface(command: NSString; userInterface: Boolean): Boolean; message 'execCommand:userInterface:';
    function execCommand(command: NSString): Boolean; message 'execCommand:';
    function queryCommandEnabled(command: NSString): Boolean; message 'queryCommandEnabled:';
    function queryCommandIndeterm(command: NSString): Boolean; message 'queryCommandIndeterm:';
    function queryCommandState(command: NSString): Boolean; message 'queryCommandState:';
    function queryCommandSupported(command: NSString): Boolean; message 'queryCommandSupported:';
    function queryCommandValue(command: NSString): NSString; message 'queryCommandValue:';
    function getElementsByName(elementName: NSString): DOMNodeList; message 'getElementsByName:';
    function elementFromPoint_y(x: cint; y: cint): DOMElement; message 'elementFromPoint:y:';
    function createCSSStyleDeclaration: DOMCSSStyleDeclaration; message 'createCSSStyleDeclaration';
    function getComputedStyle_pseudoElement(element: DOMElement; pseudoElement: NSString): DOMCSSStyleDeclaration; message 'getComputedStyle:pseudoElement:';
    function getMatchedCSSRules_pseudoElement(element: DOMElement; pseudoElement: NSString): DOMCSSRuleList; message 'getMatchedCSSRules:pseudoElement:';
    function getMatchedCSSRules_pseudoElement_authorOnly(element: DOMElement; pseudoElement: NSString; authorOnly: Boolean): DOMCSSRuleList; message 'getMatchedCSSRules:pseudoElement:authorOnly:';
    function getElementsByClassName(tagname: NSString): DOMNodeList; message 'getElementsByClassName:';
    function querySelector(selectors: NSString): DOMElement; message 'querySelector:';
    function querySelectorAll(selectors: NSString): DOMNodeList; message 'querySelectorAll:';
  end;

{ DOMDocumentDeprecatedCategory }
  DOMDocumentDeprecatedCategory = objccategory external (DOMDocument)
    function createProcessingInstruction(target: NSString; data: NSString): DOMProcessingInstruction; message 'createProcessingInstruction:target:';
    function importNode(importedNode: DOMNode; deep: Boolean): DOMNode; message 'importNode:importedNode:';
    function createElementNS(namespaceURI_: NSString; qualifiedName: NSString): DOMElement; message 'createElementNS:namespaceURI:';
    function createAttributeNS(namespaceURI_: NSString; qualifiedName: NSString): DOMAttr; message 'createAttributeNS:namespaceURI:';
    function getElementsByTagNameNS(namespaceURI_: NSString; localName_: NSString): DOMNodeList; message 'getElementsByTagNameNS:namespaceURI:';
    function createNodeIterator(root: DOMNode; whatToShow: cuint; filter: id; expandEntityReferences: Boolean): DOMNodeIterator; message 'createNodeIterator:root:whatToShow:filter:';
    function createTreeWalker(root: DOMNode; whatToShow: cuint; filter: id; expandEntityReferences: Boolean): DOMTreeWalker; message 'createTreeWalker:root:whatToShow:filter:';
    function getOverrideStyle(element: DOMElement; pseudoElement: NSString): DOMCSSStyleDeclaration; message 'getOverrideStyle:element:';
    function createExpression(expression: NSString; resolver_BUT_DEPRECATED: id): DOMXPathExpression; message 'createExpression:expression:';
    function evaluate(expression: NSString; contextNode: DOMNode; resolver: id; type_: cushort; inResult_BUT_DEPRECATED: DOMXPathResult): DOMXPathResult; message 'evaluate:expression:contextNode:resolver:type:';
    function getComputedStyle(element: DOMElement; pseudoElement: NSString): DOMCSSStyleDeclaration; message 'getComputedStyle:element:';
  end;

{$endif}
{$endif}