SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.project.view
Class NodeName

java.lang.Object
  |
  +--org.sourcejammer.project.view.NodeName

public class NodeName
extends java.lang.Object

Represents the name of a Node on the project hierarchy. Contains a link to NodeName of parent node. If parent NodeName is null, then this is the root NodeName of an archive.


Constructor Summary
NodeName()
           
 
Method Summary
static NodeName buildNodeNameObject(java.lang.String fullProjectPath, java.lang.String archiveName)
          Builds a NodeName from a full project path string.
 java.lang.String getName()
          Return the name of the corresponding Node on the project hierarchy.
 NodeName getParent()
          Returns a NodeName object for the parent of the Node that corresponds to this NodeName object.
static void main(java.lang.String[] args)
           
 void setName(java.lang.String s)
           
 void setParent(NodeName parent)
           
 java.lang.String toString()
          Prints path up to this project node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeName

public NodeName()
Method Detail

getName

public java.lang.String getName()
Return the name of the corresponding Node on the project hierarchy.

setName

public void setName(java.lang.String s)

getParent

public NodeName getParent()
Returns a NodeName object for the parent of the Node that corresponds to this NodeName object.

setParent

public void setParent(NodeName parent)

toString

public java.lang.String toString()
Prints path up to this project node. For example:

/this/is/a/path
Overrides:
toString in class java.lang.Object

buildNodeNameObject

public static NodeName buildNodeNameObject(java.lang.String fullProjectPath,
                                           java.lang.String archiveName)
Builds a NodeName from a full project path string.

main

public static void main(java.lang.String[] args)

SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan