source: trunk/src/ws/fugue88/jpath/Identifier.java

Last change on this file was 6, checked in by dsowen, 21 years ago

Split out the access stuff into accesslib.
New Creator interface off-loads object creation to user.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 558 bytes
Line 
1/*
2 * Created on Aug 2, 2005
3 *
4 * $Log$
5 * Revision 1.2  2005/09/21 22:00:46  dsowen
6 * Split out the access stuff into accesslib.
7 * New Creator interface off-loads object creation to user.
8 *
9 * Revision 1.1  2005/08/03 00:35:29  dsowen
10 * Initial commit.
11 *
12 */
13package ws.fugue88.jpath;
14
15/**
16 * @author dsowen
17 */
18public class Identifier extends PathPart {
19
20        public Identifier(final String name)
21        {
22                _name = name;
23        }
24
25        public String getName()
26        {
27                return _name;
28        }
29
30        public String toString()
31        {
32                return "/" + _name;
33        }
34
35        private final String _name;
36}
Note: See TracBrowser for help on using the repository browser.