Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdaemon.six
Class ClassID  view ClassID download ClassID.java

java.lang.Object
  extended byorg.jdaemon.six.ClassID

public class ClassID
extends java.lang.Object

Class encapsulating naming convention for SIX element class attribute


Field Summary
private  org.jdaemon.util.QuickList elements
          Actual list of ClassID name components
static ClassID EMPTY
          The empty ClassID.
 
Constructor Summary
protected ClassID(org.jdaemon.util.QuickList elements)
          Creates a new instance of ClassID.
 
Method Summary
 ClassID add(java.lang.String name)
          Add a new name component to a ClassID
 java.lang.String head()
          Get the topmost (last added) component of this class ID.
 ClassID tail()
          Get the remainder of this class ID once the head component is removed
 java.lang.String toString()
          Get a String representation of a ClassID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elements

private org.jdaemon.util.QuickList elements
Actual list of ClassID name components


EMPTY

public static final ClassID EMPTY
The empty ClassID. New ClassIDs should be created by adding to EMPTY

Constructor Detail

ClassID

protected ClassID(org.jdaemon.util.QuickList elements)
Creates a new instance of ClassID. Protected constructor. New ClassIDs should be created by adding to the empty class ID.

Method Detail

add

public ClassID add(java.lang.String name)
Add a new name component to a ClassID


toString

public java.lang.String toString()
Get a String representation of a ClassID


head

public java.lang.String head()
Get the topmost (last added) component of this class ID.


tail

public ClassID tail()
Get the remainder of this class ID once the head component is removed