DOMDocument.h
Go to the documentation of this file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #import <Foundation/Foundation.h>
00028 #import "DOMParentNode.h"
00029
00030
00031 @protocol DOMDocType, DOMElement;
00032
00033
00044 @protocol DOMDocument <DOMNode, DOMParent>
00045
00057 - (void)setDocumentElement:(id <DOMElement>)element;
00058
00062 - (id <DOMElement>)documentElement;
00063
00074 - (void)setDocType:(id <DOMDocType>)docType;
00075
00079 - (id <DOMDocType>)docType;
00080
00081 @end
00082
00083
00084 @interface DOMDocument : DOMParent <DOMDocument> {
00085 id <DOMDocType> docType;
00086 id <DOMElement> documentElement;
00087 }
00088
00089 + (id <DOMDocument>)document;
00090
00091 + (id <DOMDocument>)documentWithElement:(id <DOMElement>)root;
00092
00102 - (id)initWithElement:(id <DOMElement>)element;
00103
00104 @end