Interface PositionalCondition

All Superinterfaces:
Condition

public interface PositionalCondition extends Condition
Version:
$Revision: 477010 $
Author:
Philippe Le Hegaret
See Also:
  • Method Details

    • getPosition

      int getPosition()
      Returns the position in the tree.

      A negative value means from the end of the child node list.

      The child node list begins at 0.

    • getTypeNode

      boolean getTypeNode()
      true if the child node list only shows nodes of the same type of the selector (only elements, only PIS, ...)
    • getType

      boolean getType()
      true if the node should have the same node type (for element, same namespaceURI and same localName).