Overview
Indicates the type of DOM Node
Attribute Summary
name | type | description |
---|---|---|
Public | ||
ATTRIBUTE | NodeType |
the node is an Attribute |
CDATA_SECTION | NodeType |
the node is an CDATASection |
COMMENT | NodeType |
the node is a Comment |
DOCUMENT | NodeType |
the node is a Document |
DOCUMENT_FRAGMENT | NodeType |
the node is a DocumentFragment |
DOCUMENT_TYPE | NodeType |
the node is a DocumentType |
ELEMENT | NodeType |
the node is an Element |
ENTITY | NodeType |
the node is an Entity |
ENTITY_REFERENCE | NodeType |
the node is an EntityReference |
id | Integer |
the id for the node type |
name | String |
the name for the node type |
NOTATION | NodeType |
the node is a Notation |
PROCESSING_INSTRUCTION | NodeType |
the node is a ProcessingInstruction |
TEXT | NodeType |
the node is a Text Node |
Protected |
Inherited Attributes
Function Summary
- public static getNodeType(domType: Integer, ) : NodeType
-
Determine the NodeType from the dom node type integer
Inherited Functions
Attributes
public static ATTRIBUTE: NodeType
the node is an Attribute
public static CDATA_SECTION: NodeType
the node is an CDATASection
public static COMMENT: NodeType
the node is a Comment
public static DOCUMENT: NodeType
the node is a Document
public static DOCUMENT_FRAGMENT: NodeType
the node is a DocumentFragment
public static DOCUMENT_TYPE: NodeType
the node is a DocumentType
public static ELEMENT: NodeType
the node is an Element
public static ENTITY: NodeType
the node is an Entity
public static ENTITY_REFERENCE: NodeType
the node is an EntityReference
public id: Integer
the id for the node type
public name: String
the name for the node type
public static NOTATION: NodeType
the node is a Notation
public static PROCESSING_INSTRUCTION: NodeType
the node is a ProcessingInstruction
public static TEXT: NodeType
the node is a Text Node
Functions
public static getNodeType(domType: Integer, ):NodeType
-
Parameters
- domType
- the dom node type
-
Returns
- NodeType
- the matching NodeType
Determine the NodeType from the dom node type integer