PageRenderTime 46ms CodeModel.GetById 18ms app.highlight 17ms RepoModel.GetById 0ms app.codeStats 1ms

/packages/cocoaint/src/webkit/DOMDocument.inc

https://github.com/slibre/freepascal
Pascal | 140 lines | 95 code | 15 blank | 30 comment | 0 complexity | f691ee6138a222722f38d6b8a8ae115a MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
  1{ Parsed from Webkit.framework DOMDocument.h }
  2
  3{$ifdef TYPES}
  4{$ifndef DOMDOCUMENT_PAS_T}
  5{$define DOMDOCUMENT_PAS_T}
  6
  7{$endif}
  8{$endif}
  9
 10{$ifdef RECORDS}
 11{$ifndef DOMDOCUMENT_PAS_R}
 12{$define DOMDOCUMENT_PAS_R}
 13
 14{$endif}
 15{$endif}
 16
 17{$ifdef FUNCTIONS}
 18{$ifndef DOMDOCUMENT_PAS_F}
 19{$define DOMDOCUMENT_PAS_F}
 20
 21{$endif}
 22{$endif}
 23
 24{$ifdef EXTERNAL_SYMBOLS}
 25{$ifndef DOMDOCUMENT_PAS_S}
 26{$define DOMDOCUMENT_PAS_S}
 27
 28{$endif}
 29{$endif}
 30
 31{$ifdef FORWARD}
 32  DOMDocument = objcclass;
 33  DOMDocumentPointer = ^DOMDocument;
 34  DOMDocumentPtr = DOMDocumentPointer;
 35
 36{$endif}
 37
 38{$ifdef CLASSES}
 39{$ifndef DOMDOCUMENT_PAS_C}
 40{$define DOMDOCUMENT_PAS_C}
 41
 42{ DOMDocument }
 43  DOMDocument = objcclass external (DOMNode)
 44    
 45  public
 46    function doctype: DOMDocumentType; message 'doctype';
 47    function implementation_: DOMImplementation; message 'implementation_';
 48    function documentElement: DOMElement; message 'documentElement';
 49    function inputEncoding: NSString; message 'inputEncoding';
 50    function xmlEncoding: NSString; message 'xmlEncoding';
 51    procedure setXmlVersion (newValue: NSString); message 'setXmlVersion:';
 52    function xmlVersion: NSString; message 'xmlVersion';
 53    procedure setXmlStandalone (newValue: Boolean); message 'setXmlStandalone:';
 54    function xmlStandalone: Boolean; message 'xmlStandalone';
 55    procedure setDocumentURI (newValue: NSString); message 'setDocumentURI:';
 56    function documentURI: NSString; message 'documentURI';
 57    function defaultView: DOMAbstractView; message 'defaultView';
 58    function styleSheets: DOMStyleSheetList; message 'styleSheets';
 59    procedure setTitle (newValue: NSString); message 'setTitle:';
 60    function title: NSString; message 'title';
 61    function referrer: NSString; message 'referrer';
 62    function domain: NSString; message 'domain';
 63    function uRL: NSString; message 'uRL';
 64    procedure setCookie (newValue: NSString); message 'setCookie:';
 65    function cookie: NSString; message 'cookie';
 66    procedure setBody (newValue: DOMHTMLElement); message 'setBody:';
 67    function body: DOMHTMLElement; message 'body';
 68    function images: DOMHTMLCollection; message 'images';
 69    function applets: DOMHTMLCollection; message 'applets';
 70    function links: DOMHTMLCollection; message 'links';
 71    function forms: DOMHTMLCollection; message 'forms';
 72    function anchors: DOMHTMLCollection; message 'anchors';
 73    function lastModified: NSString; message 'lastModified';
 74    procedure setCharset (newValue: NSString); message 'setCharset:';
 75    function charset: NSString; message 'charset';
 76    function defaultCharset: NSString; message 'defaultCharset';
 77    function readyState: NSString; message 'readyState';
 78    function characterSet: NSString; message 'characterSet';
 79    function preferredStylesheetSet: NSString; message 'preferredStylesheetSet';
 80    procedure setSelectedStylesheetSet (newValue: NSString); message 'setSelectedStylesheetSet:';
 81    function selectedStylesheetSet: NSString; message 'selectedStylesheetSet';
 82    function createElement(tagName: NSString): DOMElement; message 'createElement:';
 83    function createDocumentFragment: DOMDocumentFragment; message 'createDocumentFragment';
 84    function createTextNode(data: NSString): DOMText; message 'createTextNode:';
 85    function createComment(data: NSString): DOMComment; message 'createComment:';
 86    function createCDATASection(data: NSString): DOMCDATASection; message 'createCDATASection:';
 87    function createProcessingInstruction_data(target: NSString; data: NSString): DOMProcessingInstruction; message 'createProcessingInstruction:data:';
 88    function createAttribute(name: NSString): DOMAttr; message 'createAttribute:';
 89    function createEntityReference(name: NSString): DOMEntityReference; message 'createEntityReference:';
 90    function getElementsByTagName(tagname: NSString): DOMNodeList; message 'getElementsByTagName:';
 91    function importNode_deep(importedNode: DOMNode; deep: Boolean): DOMNode; message 'importNode:deep:';
 92    function createElementNS_qualifiedName(namespaceURI_: NSString; qualifiedName: NSString): DOMElement; message 'createElementNS:qualifiedName:';
 93    function createAttributeNS_qualifiedName(namespaceURI_: NSString; qualifiedName: NSString): DOMAttr; message 'createAttributeNS:qualifiedName:';
 94    function getElementsByTagNameNS_localName(namespaceURI_: NSString; localName_: NSString): DOMNodeList; message 'getElementsByTagNameNS:localName:';
 95    function getElementById(elementId: NSString): DOMElement; message 'getElementById:';
 96    function adoptNode(source: DOMNode): DOMNode; message 'adoptNode:';
 97    function createEvent(eventType: NSString): DOMEvent; message 'createEvent:';
 98    function createRange: DOMRange; message 'createRange';
 99    function createNodeIterator_whatToShow_filter_expandEntityReferences(root: DOMNode; whatToShow: cuint; filter: DOMNodeFilterProtocol; expandEntityReferences: Boolean): DOMNodeIterator; message 'createNodeIterator:whatToShow:filter:expandEntityReferences:';
100    function createTreeWalker_whatToShow_filter_expandEntityReferences(root: DOMNode; whatToShow: cuint; filter: DOMNodeFilterProtocol; expandEntityReferences: Boolean): DOMTreeWalker; message 'createTreeWalker:whatToShow:filter:expandEntityReferences:';
101    function getOverrideStyle_pseudoElement(element: DOMElement; pseudoElement: NSString): DOMCSSStyleDeclaration; message 'getOverrideStyle:pseudoElement:';
102    function createExpression_resolver(expression: NSString; resolver: DOMXPathNSResolverProtocol): DOMXPathExpression; message 'createExpression:resolver:';
103    function createNSResolver(nodeResolver: DOMNode): DOMXPathNSResolverProtocol; message 'createNSResolver:';
104    function evaluate_contextNode_resolver_type_inResult(expression: NSString; contextNode: DOMNode; resolver: DOMXPathNSResolverProtocol; type_: cushort; inResult: DOMXPathResult): DOMXPathResult; message 'evaluate:contextNode:resolver:type:inResult:';
105    function execCommand_userInterface_value(command: NSString; userInterface: Boolean; value: NSString): Boolean; message 'execCommand:userInterface:value:';
106    function execCommand_userInterface(command: NSString; userInterface: Boolean): Boolean; message 'execCommand:userInterface:';
107    function execCommand(command: NSString): Boolean; message 'execCommand:';
108    function queryCommandEnabled(command: NSString): Boolean; message 'queryCommandEnabled:';
109    function queryCommandIndeterm(command: NSString): Boolean; message 'queryCommandIndeterm:';
110    function queryCommandState(command: NSString): Boolean; message 'queryCommandState:';
111    function queryCommandSupported(command: NSString): Boolean; message 'queryCommandSupported:';
112    function queryCommandValue(command: NSString): NSString; message 'queryCommandValue:';
113    function getElementsByName(elementName: NSString): DOMNodeList; message 'getElementsByName:';
114    function elementFromPoint_y(x: cint; y: cint): DOMElement; message 'elementFromPoint:y:';
115    function createCSSStyleDeclaration: DOMCSSStyleDeclaration; message 'createCSSStyleDeclaration';
116    function getComputedStyle_pseudoElement(element: DOMElement; pseudoElement: NSString): DOMCSSStyleDeclaration; message 'getComputedStyle:pseudoElement:';
117    function getMatchedCSSRules_pseudoElement(element: DOMElement; pseudoElement: NSString): DOMCSSRuleList; message 'getMatchedCSSRules:pseudoElement:';
118    function getMatchedCSSRules_pseudoElement_authorOnly(element: DOMElement; pseudoElement: NSString; authorOnly: Boolean): DOMCSSRuleList; message 'getMatchedCSSRules:pseudoElement:authorOnly:';
119    function getElementsByClassName(tagname: NSString): DOMNodeList; message 'getElementsByClassName:';
120    function querySelector(selectors: NSString): DOMElement; message 'querySelector:';
121    function querySelectorAll(selectors: NSString): DOMNodeList; message 'querySelectorAll:';
122  end;
123
124{ DOMDocumentDeprecatedCategory }
125  DOMDocumentDeprecatedCategory = objccategory external (DOMDocument)
126    function createProcessingInstruction(target: NSString; data: NSString): DOMProcessingInstruction; message 'createProcessingInstruction:target:'; deprecated 'in_webkit_version_3 and later';
127    function importNode(importedNode: DOMNode; deep: Boolean): DOMNode; message 'importNode:importedNode:'; deprecated 'in_webkit_version_3 and later';
128    function createElementNS(namespaceURI_: NSString; qualifiedName: NSString): DOMElement; message 'createElementNS:namespaceURI:'; deprecated 'in_webkit_version_3 and later';
129    function createAttributeNS(namespaceURI_: NSString; qualifiedName: NSString): DOMAttr; message 'createAttributeNS:namespaceURI:'; deprecated 'in_webkit_version_3 and later';
130    function getElementsByTagNameNS(namespaceURI_: NSString; localName_: NSString): DOMNodeList; message 'getElementsByTagNameNS:namespaceURI:'; deprecated 'in_webkit_version_3 and later';
131    function createNodeIterator(root: DOMNode; whatToShow: cuint; filter: DOMNodeFilterProtocol; expandEntityReferences: Boolean): DOMNodeIterator; message 'createNodeIterator:root:whatToShow:filter:'; deprecated 'in_webkit_version_3 and later';
132    function createTreeWalker(root: DOMNode; whatToShow: cuint; filter: DOMNodeFilterProtocol; expandEntityReferences: Boolean): DOMTreeWalker; message 'createTreeWalker:root:whatToShow:filter:'; deprecated 'in_webkit_version_3 and later';
133    function getOverrideStyle(element: DOMElement; pseudoElement: NSString): DOMCSSStyleDeclaration; message 'getOverrideStyle:element:'; deprecated 'in_webkit_version_3 and later';
134    function createExpression(expression: NSString; resolver: DOMXPathNSResolverProtocol): DOMXPathExpression; message 'createExpression:expression:';
135    function evaluate(expression: NSString; contextNode: DOMNode; resolver: DOMXPathNSResolverProtocol; type_: cushort; inResult: DOMXPathResult): DOMXPathResult; message 'evaluate:expression:contextNode:resolver:type:';
136    function getComputedStyle(element: DOMElement; pseudoElement: NSString): DOMCSSStyleDeclaration; message 'getComputedStyle:element:'; deprecated 'in_webkit_version_3 and later';
137  end;
138
139{$endif}
140{$endif}