|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.icl.saxon.tinytree.AttributeEnumeration
final class AttributeEnumeration
AttributeEnumeration is an enumeration of all the attribute nodes of an Element.
Constructor Summary | |
---|---|
protected |
AttributeEnumeration(TinyDocumentImpl doc,
int element,
NodeTest nodeTest)
Constructor. |
Method Summary | |
---|---|
int |
getLastPosition()
Get the last position, that is the number of nodes in the enumeration |
boolean |
hasMoreElements()
Test if there are mode nodes still 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 the enumeration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AttributeEnumeration(TinyDocumentImpl doc, int element, NodeTest nodeTest)
node:
- the element whose attributes are required. This may be any type of node,
but if it is not an element the enumeration will be emptynodeType:
- the type of node required. This may be any type of node,
but if it is not an attribute the enumeration will be emptynameTest:
- condition to be applied to the names of the attributes selectedMethod Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface AxisEnumeration
hasMoreElements
in interface NodeEnumeration
public NodeInfo nextElement()
nextElement
in interface AxisEnumeration
nextElement
in interface NodeEnumeration
public boolean isSorted()
NodeEnumeration
isSorted
in interface NodeEnumeration
public boolean isReverseSorted()
NodeEnumeration
isReverseSorted
in interface NodeEnumeration
public boolean isPeer()
NodeEnumeration
isPeer
in interface NodeEnumeration
public int getLastPosition()
getLastPosition
in interface LastPositionFinder
getLastPosition
in interface AxisEnumeration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |