| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xins.common.service.Descriptor
Descriptor for a service or group of services.
| Method Summary | |
| abstract  TargetDescriptor | getTargetByCRC(int crc)Returns the TargetDescriptorthat matches the specified
 CRC-32 checksum. | 
| abstract  int | getTargetCount()Counts the total number of target descriptors in/under this descriptor. | 
| abstract  boolean | isGroup()Checks if this descriptor denotes a group of descriptor of descriptorss. | 
| abstract  Iterator | iterateTargets()Iterates over all leaves, the target descriptors. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public abstract boolean isGroup()
true if this descriptor denotes a group,
    false otherwise.public abstract Iterator iterateTargets()
The returned Iterator will not support
 Iterator.remove(). The iterator will only return
 TargetDescriptor instances, no instances of other classes and
 no null values.
 
Also, this iterator is guaranteed to return getTargetCount()
 instances of class TargetDescriptor.
null.public abstract int getTargetCount()
public abstract TargetDescriptor getTargetByCRC(int crc)
TargetDescriptor that matches the specified
 CRC-32 checksum.
crc - the CRC-32 checksum.
TargetDescriptor that matches the specified checksum, or
    null, if none could be found in this descriptor.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||