com.icl.saxon.style

Class GroupActivation

public class GroupActivation extends Object implements NodeEnumeration

GroupActivation represents one activation of a saxon:group loop. It is implemented as a NodeEnumeration with one extra method, the ability to test whether the value of a key on the current node is the same as the value of the key on the next node. Control over the iteration is shared between the saxon:group and saxon:item elements.
Constructor Summary
GroupActivation(SAXONGroup group, Expression groupkey, NodeEnumeration nodes, Context c)
Method Summary
booleanhasMoreElements()
booleanisPeer()
booleanisReverseSorted()
booleanisSorted()
NodeInfonextElement()
booleansameAsNext()

Constructor Detail

GroupActivation

public GroupActivation(SAXONGroup group, Expression groupkey, NodeEnumeration nodes, Context c)

Method Detail

hasMoreElements

public boolean hasMoreElements()

isPeer

public boolean isPeer()

isReverseSorted

public boolean isReverseSorted()

isSorted

public boolean isSorted()

nextElement

public NodeInfo nextElement()

sameAsNext

public boolean sameAsNext()