Package | dom.core |
Class | public class Entity |
Inheritance | Entity Node Object |
Introduced in: | DOM 1 Core |
Modified in: | DOM 3 Core |
The nodeName attribute that is inherited from Node contains the name of the entity.
Note: An Entity node does not have any parent.
Note: If the entity contains an unbound namespace prefix, the namespaceURI of the corresponding node in the Entity node subtree is null. The same is true for EntityReference nodes that refer to this entity, when they are created using the createEntityReference method of the Document interface.
Note (Mozilla): This is not implemented in Mozilla
See also
Property | Defined By | ||
---|---|---|---|
DOM 1 Core attributes : NamedNodeMap [read-only]
Returns an unordered collection of Attr nodes. | Node | ||
Non-Standard baseName : DOMString [read-only]
Returns the base name for the name qualified with the namespace. | Node | ||
DOM 3 Core baseURI : DOMString [read-only]
The absolute base URI of this node or null if the implementation
wasn't able to obtain an absolute URI. | Node | ||
DOM 1 Core childNodes : NodeList [read-only]
Returns an ordered collection of node objects that are children of
the current element. | Node | ||
Non-Standard dataType : *
Specifies the data type for this node. | Node | ||
Non-Standard definition : Node [read-only]
Returns the definition of the node in the document type definition (DTD) or schema. | Node | ||
DOM 1 Core firstChild : Node [read-only]
Returns the node's first child in the tree, or null if the node is
childless. | Node | ||
DOM 3 Core inputEncoding : DOMString [read-only]
An attribute specifying the encoding used for this entity at the time of
parsing, when it is an external parsed entity. | Entity | ||
DOM 1 Core lastChild : Node [read-only]
Returns the last child of a node. | Node | ||
DOM 2 Core localName : DOMString [read-only]
Returns the local part of the qualified name of this node. | Node | ||
DOM 2 Core namespaceURI : DOMString [read-only]
The namespace URI of the node, or null if it is unspecified (read-only). | Node | ||
DOM 1 Core nextSibling : Node [read-only]
Returns the node immediately following the specified one in its
parent's childNodes list, or null if the specified node is the
last node in that list. | Node | ||
DOM 1 Core nodeName : DOMString [read-only]
Returns the name of the current node as a string. | Node | ||
Non-Standard nodePrincipal : nsIPrincipal [read-only]
Returns the nsIPrincipal object representing current security
context of the node. | Node | ||
DOM 1 Core nodeType : Number [read-only]
Returns an integer code representing the type of the node. | Node | ||
Non-Standard nodeTypedValue : *
Contains the node value expressed in its defined data type. | Node | ||
Non-Standard nodeTypeString : DOMString [read-only]
Returns the node type in string form. | Node | ||
DOM 1 Core nodeValue : DOMString
Returns or sets the value of the current node. | Node | ||
DOM 1 Core notationName : DOMString [read-only]
For unparsed entities, the name of the notation for the entity. | Entity | ||
DOM 1 Core ownerDocument : Document [read-only]
The Document object associated with this node. | Node | ||
DOM 1 Core parentNode : Node [read-only]
Returns the parent of the specified node in the DOM tree. | Node | ||
Non-Standard parsed : Boolean [read-only]
Indicates the parsed status of the node and child nodes. | Node | ||
DOM 2 Core prefix : DOMString
Returns the namespace prefix of the specified node, or null if no
prefix is specified. | Node | ||
DOM 1 Core previousSibling : Node [read-only]
Returns the node immediately preceding the specified one in its
parent's childNodes list, null if the specified node is the first
in that list. | Node | ||
DOM 1 Core publicId : DOMString [read-only]
The public identifier associated with the entity if specified, and null otherwise. | Entity | ||
Non-Standard specified : Boolean [read-only]
Indicates whether the node (usually an attribute) is explicitly specified or derived
from a default value in the document type definition (DTD) or schema. | Node | ||
DOM 1 Core systemId : DOMString [read-only]
The system identifier associated with the entity if specified, and null
otherwise. | Entity | ||
Non-Standard text : DOMString
Represents the text content of the node or the concatenated text representing the node and its descendants. | Node | ||
DOM 3 Core textContent : DOMString
Gets or sets the text content of a node and its descendants. | Node | ||
Non-Standard xml : DOMString [read-only]
Contains the XML representation of the node and all its descendants. | Node | ||
DOM 3 Core xmlEncoding : DOMString [read-only]
An attribute specifying, as part of the text declaration, the encoding of
this entity, when it is an external parsed entity. | Entity | ||
DOM 3 Core xmlVersion : DOMString [read-only]
An attribute specifying, as part of the text declaration, the version number
of this entity, when it is an external parsed entity. | Entity |
DOM 3 Core inputEncoding | property |
inputEncoding:DOMString
[read-only] Introduced in: | DOM 3 Core |
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.
public function get inputEncoding():DOMString
See also
DOM 1 Core notationName | property |
notationName:DOMString
[read-only] Introduced in: | DOM 1 Core |
For unparsed entities, the name of the notation for the entity. For parsed entities, this is null.
public function get notationName():DOMString
See also
DOM 1 Core publicId | property |
publicId:DOMString
[read-only] Introduced in: | DOM 1 Core |
The public identifier associated with the entity if specified, and null otherwise.
public function get publicId():DOMString
See also
DOM 1 Core systemId | property |
systemId:DOMString
[read-only] Introduced in: | DOM 1 Core |
The system identifier associated with the entity if specified, and null otherwise. This may be an absolute URI or not.
public function get systemId():DOMString
See also
DOM 3 Core xmlEncoding | property |
xmlEncoding:DOMString
[read-only] Introduced in: | DOM 3 Core |
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.
public function get xmlEncoding():DOMString
See also
DOM 3 Core xmlVersion | property |
xmlVersion:DOMString
[read-only] Introduced in: | DOM 3 Core |
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.
public function get xmlVersion():DOMString
See also