Overview

Represents a DOM Comment

Inherited Attributes

javafx.xml.Node

publicnametype
baseURIString

holds the nodes base URI

childrenNode[]

Holds the children node to this node When a new child node is added, the parent node for the child node is set to this node.

documentDocument

holds the associated document

doIndentBoolean

indicates whether or not indenting should be used when printing or serializing.

domNodeNode

holds the associated dom node

encodingString

indicates which encoding should be used when printing or serializing.

indentInteger

Holds the number of spaces for indenting when printing or serializing.

localNameString

holds the node's local Nnme

nameString

holds the node's qualified name

namespaceURIString

holds the node's namespace

omitXMLDeclarationBoolean

indicates whether or not to include the xml declaration when printing or serializing.

parentNode

Holds the parent node for this node.

prefixString

holds the node's prefix

standaloneBoolean

indicates whether or not the document is standalone.

typeNodeType

holds the node's type

valueString

holds the node's value

Inherited Functions

javafx.xml.Node

protected createNode() : Node

create a default node based on this node's node type

protected isChild(node: Node, ) : Boolean

determine whether the node's dom node is already a child of this dom node.

public nomalize() : Void

normalize the node tree

public query(query: String, ) : <any>[]

Perform an xpath query using this node as the root

public queryBoolean(query: String, ) : Boolean

Perform an xpath query using this node as the root expecting a Boolean result

public queryNode(query: String, ) : Node

Perform an xpath query using this node as the root expecting a Node result

public queryNumber(query: String, ) : Number

Perform an xpath query using this node as the root expecting a Number result

public queryString(query: String, ) : String

Perform an xpath query using this node as the root expecting a String result

public serialize(writer: Writer, ) : Void

Convert this node to an XML format based on the attributes indent, doIndent, omitXMLDeclaration, encoding and standalone.

protected setDomNode(domNode: Node, ) : Void

set the associated properties from the dom Node

public toString() : String

Convert this node to an XML formatted string based on the attributes indent, doIndent, omitXMLDeclaration, encoding and standalone.