Saxon.Api

 

 

Saxon.Api

Enum TreeModel


public enum TreeModel
extends object

Enumeration identifying the different tree model implementations

Field Summary

  LinkedTree

Saxon LinkedTree. This tree model is primarily useful when using XQuery Update, since it is the only standard tree model to support updates.

  TinyTree

Saxon TinyTree. This is the default model and is suitable for most purposes.

  TinyTreeCondensed

Saxon Condensed TinyTree. This is a variant of the TinyTree that shares storage for duplicated text and attribute nodes. It gives a further saving in space occupied, at the cost of some increase in the time taken for tree construction.

  Unspecified

Unspecified tree model. This value is used to indicate that there is no preference for any specific tree model, which allows the choice to fall back to other interfaces.

 

Field Detail

LinkedTree

public  LinkedTree

Saxon LinkedTree. This tree model is primarily useful when using XQuery Update, since it is the only standard tree model to support updates.

TinyTree

public  TinyTree

Saxon TinyTree. This is the default model and is suitable for most purposes.

TinyTreeCondensed

public  TinyTreeCondensed

Saxon Condensed TinyTree. This is a variant of the TinyTree that shares storage for duplicated text and attribute nodes. It gives a further saving in space occupied, at the cost of some increase in the time taken for tree construction.

Unspecified

public  Unspecified

Unspecified tree model. This value is used to indicate that there is no preference for any specific tree model, which allows the choice to fall back to other interfaces.