com.servingxml.components.content.dynamic
Interface KeyIdentifier

All Superinterfaces:
Identifier
All Known Implementing Classes:
KeyIdentifierImpl

public interface KeyIdentifier
extends Identifier

This interface defines an equality relation between two keys.


Method Summary
 boolean equalTo(java.lang.Object key1, java.lang.Object key2)
          Compares the two key arguments for equality.
 java.lang.String[] getSegmentNames()
           
 

Method Detail

getSegmentNames

java.lang.String[] getSegmentNames()

equalTo

boolean equalTo(java.lang.Object key1,
                java.lang.Object key2)
Compares the two key arguments for equality. Returns true or false depending on whether the two key arguments are equal.

Specified by:
equalTo in interface Identifier
Parameters:
key1 - the first key object to be compared.
key2 - the second key object to be compared.
Returns:
true or depending on whether the two key arguments are equal.