Overview

Indicates the type of DOM Node

Attribute Summary

nametypedescription
Public
ATTRIBUTENodeType

the node is an Attribute

CDATA_SECTIONNodeType

the node is an CDATASection

COMMENTNodeType

the node is a Comment

DOCUMENTNodeType

the node is a Document

DOCUMENT_FRAGMENTNodeType

the node is a DocumentFragment

DOCUMENT_TYPENodeType

the node is a DocumentType

ELEMENTNodeType

the node is an Element

ENTITYNodeType

the node is an Entity

ENTITY_REFERENCENodeType

the node is an EntityReference

idInteger

the id for the node type

nameString

the name for the node type

NOTATIONNodeType

the node is a Notation

PROCESSING_INSTRUCTIONNodeType

the node is a ProcessingInstruction

TEXTNodeType

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