1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
/*
* (c) COPYRIGHT 1999 World Wide Web Consortium
* (Massachusetts Institute of Technology, Institut National de Recherche
* en Informatique et en Automatique, Keio University).
* All Rights Reserved. http://www.w3.org/Consortium/Legal/
*
* $Id: PositionalCondition.java,v 1.4 2000/02/14 15:54:12 plehegar Exp $
*/
package org.w3c.css.sac;
/**
* @version $Revision: 1.4 $
* @author Philippe Le Hegaret
* @see Condition#SAC_POSITIONAL_CONDITION
*/
public interface PositionalCondition extends Condition {
/**
* Returns the position in the tree.
* <p>A negative value means from the end of the child node list.
* <p>The child node list begins at 0.
*/
public int getPosition();
/**
* <code>true</code> if the child node list only shows nodes of the same
* type of the selector (only elements, only PIS, ...)
*/
public boolean getTypeNode();
/**
* <code>true</code> if the node should have the same node type (for
* element, same namespaceURI and same localName).
*/
public boolean getType();
}
|