com.ibm.xml.policy.xacl
Interface Hierarchy

All Known Implementing Classes:
HierarchyImpl

public interface Hierarchy

The interface to represent a hierarchical data structure such as groups and roles. You can implement an application-specific hierarchy by implementing this interface.

Author:
Satoshi Hada, IBM TRL

Method Summary
 boolean isAncestorOrEqual(java.lang.String ancestor_node, java.lang.String node)
          Check whether a given node is an ancestor of or equal to another given node.
 

Method Detail

isAncestorOrEqual

public boolean isAncestorOrEqual(java.lang.String ancestor_node,
                                 java.lang.String node)
Check whether a given node is an ancestor of or equal to another given node.
Parameters:
ancestor_node -  
node -  
Returns:
true if the ancestor_node is an ancestor of or equal to the node.