Package net.sf.saxon.sapling
package net.sf.saxon.sapling
This package defines a public API for constructing trees; it represents trees-under-construction
using a lightweight immutable data structure called a sapling; once construction of a sapling
tree is complete, it can be copied to form a fully-functional XDM tree in the form of an
XdmNode
or NodeInfo
object.
An overview of the API can be found in the Javadoc for class SaplingNode
.
-
ClassesClassDescriptionA comment node in a sapling treeA document node in a sapling tree.An element node on a sapling tree.This class represents a sapling node.A processing-instruction node in a sapling treeThis is a non-instantiable class holding a number of convenience methods for creating sapling nodes of different kinds.