DOMENTITY(3) 1 DOMENTITY(3)
The DOMEntity class
INTRODUCTION
This interface represents a known entity, either parsed or unparsed, in an XML document.
CLASS SYNOPSIS
DOMEntity
DOMEntityextends
DOMNode
Properties
o readonlypublic string$publicId
o readonlypublic string$systemId
o readonlypublic string$notationName
o public string$actualEncoding
o readonlypublic string$encoding
o readonlypublic string$version
Inherited methods
o public DOMNode DOMNode::appendChild (DOMNode $newnode)
o public string DOMNode::C14N ([bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes])
o public int DOMNode::C14NFile (string $uri, [bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes])
o public DOMNode DOMNode::cloneNode ([bool $deep])
o public int DOMNode::getLineNo (void )
o public string DOMNode::getNodePath (void )
o public bool DOMNode::hasAttributes (void )
o public bool DOMNode::hasChildNodes (void )
o public DOMNode DOMNode::insertBefore (DOMNode $newnode, [DOMNode $refnode])
o public bool DOMNode::isDefaultNamespace (string $namespaceURI)
o public bool DOMNode::isSameNode (DOMNode $node)
o public bool DOMNode::isSupported (string $feature, string $version)
o public string DOMNode::lookupNamespaceURI (string $prefix)
o public string DOMNode::lookupPrefix (string $namespaceURI)
o public void DOMNode::normalize (void )
o public DOMNode DOMNode::removeChild (DOMNode $oldnode)
o public DOMNode DOMNode::replaceChild (DOMNode $newnode, DOMNode $oldnode)
PROPERTIES
o $publicId
- The public identifier associated with the entity if specified, and NULL otherwise.
o $systemId
- The system identifier associated with the entity if specified, and NULL otherwise. This may be an absolute URI or not.
o $notationName
- For unparsed entities, the name of the notation for the entity. For parsed entities, this is NULL.
o $actualEncoding
- An attribute specifying the encoding used for this entity at the time of parsing, when it is an external parsed entity. This is
NULL if it an entity from the internal subset or if it is not known.
o $encoding
- An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external parsed entity.
This is NULL otherwise.
o $version
- An attribute specifying, as part of the text declaration, the version number of this entity, when it is an external parsed
entity. This is NULL otherwise.
PHP Documentation Group DOMENTITY(3)