org.w3c.css.sac

Interface PositionalCondition

public interface PositionalCondition extends Condition

Version: $Revision: 1.4 $

Author: Philippe Le Hegaret

See Also: SAC_POSITIONAL_CONDITION

Method Summary
intgetPosition()
Returns the position in the tree.
booleangetType()
true if the node should have the same node type (for element, same namespaceURI and same localName).
booleangetTypeNode()
true if the child node list only shows nodes of the same type of the selector (only elements, only PIS, ...)

Method Detail

getPosition

public 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.

getType

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

getTypeNode

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