Loading TOC...

MarkLogic 9 Product Documentation
NodeBuilder functions

The table below lists all the NodeBuilder built-in functions (in this namespace: NodeBuilder).

A builder of node trees.

16 functions
Function name Description
NodeBuilder.addAttribute Add an attribute node to the node tree the builder is building.
NodeBuilder.addBinary Add a binary node to the node tree the builder is building.
NodeBuilder.addBoolean Add a boolean node to the node tree the builder is building.
NodeBuilder.addComment Add an XML comment node to the node tree the builder is building.
NodeBuilder.addDocument Add a document node to the node tree the builder is building.
NodeBuilder.addElement Add an XML element node to the node tree the builder is building.
NodeBuilder.addNode Add a node to the node tree the builder is building.
NodeBuilder.addNull Add a null node to the node tree the builder is building.
NodeBuilder.addNumber Add a number node to the node tree the builder is building.
NodeBuilder.addProcessingInstruction Add an XML processing instruction node to the node tree the builder is building.
NodeBuilder.addText Add a text node to the node tree the builder is building.
NodeBuilder.endDocument Close out the current document node.
NodeBuilder.endElement Close out the current XML element node.
NodeBuilder.startDocument Start a new document node in the node tree the builder is building.
NodeBuilder.startElement Start a new XML element node in the node tree the builder is building.
NodeBuilder.toNode Return the node tree that has been built.