IDLeDOM
DOM interfaces automatically generated from WebIDL
Loading...
Searching...
No Matches
Wikimedia\IDLeDOM\XMLDocument Interface Reference
+ Inheritance diagram for Wikimedia\IDLeDOM\XMLDocument:

Additional Inherited Members

- Public Member Functions inherited from Wikimedia\IDLeDOM\Document
DOMImplementation getImplementation ()
 
string getURL ()
 
string getDocumentURI ()
 
string getCompatMode ()
 
string getCharacterSet ()
 
string getCharset ()
 
string getInputEncoding ()
 
string getContentType ()
 
DocumentType null getDoctype ()
 
Element null getDocumentElement ()
 
HTMLCollection getElementsByTagName (string $qualifiedName)
 
HTMLCollection getElementsByTagNameNS (?string $namespace, string $localName)
 
HTMLCollection getElementsByClassName (string $classNames)
 
Element createElement (string $localName, $options=null)
 
Element createElementNS (?string $namespace, string $qualifiedName, $options=null)
 
DocumentFragment createDocumentFragment ()
 
Text createTextNode (string $data)
 
CDATASection createCDATASection (string $data)
 
Comment createComment (string $data)
 
ProcessingInstruction createProcessingInstruction (string $target, string $data)
 
Node importNode ($node, bool $deep=false)
 
Node adoptNode ($node)
 
Attr createAttribute (string $localName)
 
Attr createAttributeNS (?string $namespace, string $qualifiedName)
 
Event createEvent (string $interface)
 
Range createRange ()
 
NodeIterator createNodeIterator ($root, int $whatToShow=-1, $filter=null)
 
TreeWalker createTreeWalker ($root, int $whatToShow=-1, $filter=null)
 
Location null getLocation ()
 
 setLocation (string $val)
 
string getReferrer ()
 
string getCookie ()
 
 setCookie (string $val)
 
string getLastModified ()
 
string getTitle ()
 
 setTitle (string $val)
 
string getDir ()
 
 setDir (string $val)
 
HTMLElement null getBody ()
 
 setBody ($val)
 
HTMLHeadElement null getHead ()
 
HTMLCollection getImages ()
 
HTMLCollection getEmbeds ()
 
HTMLCollection getPlugins ()
 
HTMLCollection getLinks ()
 
HTMLCollection getForms ()
 
HTMLCollection getScripts ()
 
NodeList getElementsByName (string $elementName)
 
HTMLScriptElement null getCurrentScript ()
 
Wikimedia IDLeDOM Document open (string $type='text/html', string $replace='')
 
void close ()
 
void write (string ... $text)
 
void writeln (string ... $text)
 
bool hasFocus ()
 
EventHandlerNonNull callable null getOnreadystatechange ()
 
 setOnreadystatechange ($val)
 
HTMLCollection getAnchors ()
 
HTMLCollection getApplets ()
 
void clear ()
 
void captureEvents ()
 
void releaseEvents ()
 
bool getHidden ()
 
string getVisibilityState ()
 
EventHandlerNonNull callable null getOnvisibilitychange ()
 
 setOnvisibilitychange ($val)
 
string getEncoding ()
 
 setEncoding (string $val)
 
bool getPreserveWhiteSpace ()
 
 setPreserveWhiteSpace (bool $val)
 
bool getFormatOutput ()
 
 setFormatOutput (bool $val)
 
bool getValidateOnParse ()
 
 setValidateOnParse (bool $val)
 
bool getStrictErrorChecking ()
 
 setStrictErrorChecking (bool $val)
 
bool loadHTML (string $source, int $options=0)
 
bool loadXML (string $source, int $options=0)
 
string bool saveHTML ($node=null)
 
string bool saveXML ($node=null, int $options=0)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\Node
int getNodeType ()
 
string getNodeName ()
 
string getBaseURI ()
 
bool getIsConnected ()
 
Document null getOwnerDocument ()
 
Wikimedia IDLeDOM Node getRootNode ($options=null)
 
Node null getParentNode ()
 
Element null getParentElement ()
 
bool hasChildNodes ()
 
NodeList getChildNodes ()
 
Node null getFirstChild ()
 
Node null getLastChild ()
 
Node null getPreviousSibling ()
 
Node null getNextSibling ()
 
string getNodeValue ()
 
 setNodeValue (?string $val)
 
string getTextContent ()
 
 setTextContent (?string $val)
 
void normalize ()
 
Wikimedia IDLeDOM Node cloneNode (bool $deep=false)
 
bool isEqualNode ($otherNode)
 
bool isSameNode ($otherNode)
 
int compareDocumentPosition ($other)
 
bool contains ($other)
 
string lookupPrefix (?string $namespace)
 
string lookupNamespaceURI (?string $prefix)
 
bool isDefaultNamespace (?string $namespace)
 
Wikimedia IDLeDOM Node insertBefore ($node, $child=null)
 
Wikimedia IDLeDOM Node appendChild ($node)
 
Wikimedia IDLeDOM Node replaceChild ($node, $child)
 
Wikimedia IDLeDOM Node removeChild ($child)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\EventTarget
void addEventListener (string $type, $callback, $options=null)
 
void removeEventListener (string $type, $callback, $options=null)
 
bool dispatchEvent ($event)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\DocumentOrShadowRoot
StyleSheetList getStyleSheets ()
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\GlobalEventHandlers
EventHandlerNonNull callable null getOnload ()
 
 setOnload ($val)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\NonElementParentNode
Element null getElementById (string $elementId)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\ParentNode
HTMLCollection getChildren ()
 
Element null getFirstElementChild ()
 
Element null getLastElementChild ()
 
int getChildElementCount ()
 
void prepend (... $nodes)
 
void append (... $nodes)
 
void replaceChildren (... $nodes)
 
Element null querySelector (string $selectors)
 
NodeList querySelectorAll (string $selectors)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\XPathEvaluatorBase
XPathExpression createExpression (string $expression, $resolver=null)
 
XPathNSResolver callable createNSResolver ($nodeResolver)
 
XPathResult evaluate (string $expression, $contextNode, $resolver=null, int $type=0, $result=null)
 
- Public Attributes inherited from Wikimedia\IDLeDOM\Node
const ELEMENT_NODE = 1
 
const ATTRIBUTE_NODE = 2
 
const TEXT_NODE = 3
 
const CDATA_SECTION_NODE = 4
 
const ENTITY_REFERENCE_NODE = 5
 
const ENTITY_NODE = 6
 
const PROCESSING_INSTRUCTION_NODE = 7
 
const COMMENT_NODE = 8
 
const DOCUMENT_NODE = 9
 
const DOCUMENT_TYPE_NODE = 10
 
const DOCUMENT_FRAGMENT_NODE = 11
 
const NOTATION_NODE = 12
 
const DOCUMENT_POSITION_DISCONNECTED = 0x01
 
const DOCUMENT_POSITION_PRECEDING = 0x02
 
const DOCUMENT_POSITION_FOLLOWING = 0x04
 
const DOCUMENT_POSITION_CONTAINS = 0x08
 
const DOCUMENT_POSITION_CONTAINED_BY = 0x10
 
const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
 

The documentation for this interface was generated from the following file: