|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.style.GroupActivation
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 | |
boolean |
hasMoreElements()
Determine whether there are more nodes to come. |
boolean |
isPeer()
Determine whether the nodes returned by this enumeration are known to be peers, that is, no node is a descendant or ancestor of another node. |
boolean |
isReverseSorted()
Determine whether the nodes returned by this enumeration are known to be in reverse document order. |
boolean |
isSorted()
Determine whether the nodes returned by this enumeration are known to be in document order |
NodeInfo |
nextElement()
Get the next node in sequence. |
boolean |
sameAsNext()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroupActivation(SAXONGroup group, Expression groupkey, NodeEnumeration nodes, Context c) throws XPathException
Method Detail |
public boolean hasMoreElements()
NodeEnumeration
hasMoreElements
in interface NodeEnumeration
public NodeInfo nextElement() throws XPathException
NodeEnumeration
nextElement
in interface NodeEnumeration
XPathException
public boolean sameAsNext() throws XPathException
XPathException
public boolean isSorted()
NodeEnumeration
isSorted
in interface NodeEnumeration
public boolean isReverseSorted()
NodeEnumeration
isReverseSorted
in interface NodeEnumeration
public boolean isPeer()
NodeEnumeration
isPeer
in interface NodeEnumeration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |