Copyright 2002 by aragost

com.aragost.araspect
Class PathElement

java.lang.Object
  |
  +--com.aragost.araspect.PathElement

public class PathElement
extends java.lang.Object


Constructor Summary
PathElement(java.lang.String id)
          Creates new PathElement
PathElement(java.lang.String id, java.lang.String part)
          Creates new PathElement
PathElement(java.lang.String id, java.lang.String part1, java.lang.String part2)
          Creates new PathElement
PathElement(java.lang.String id, java.lang.String part1, java.lang.String part2, java.lang.String part3)
          Creates new PathElement
 
Method Summary
 void addPart(java.lang.String part)
          Add a part to the receiver
static PathElement fromUrlString(java.lang.String s)
          DOCUMENT ME!
 Evaluator getEvaluator()
          Return the Evaluator associated with the receiver.
 java.lang.String getEvaluatorId()
          Getter for property evaluatorId.
 java.lang.String getFirstPart()
          Return the first part of the receiver
 java.util.List getParts()
          Getter for property parts.
 java.lang.String getSecondPart()
          Return the second part of the receiver
 java.lang.String getThirdPart()
          Return the third part of the receiver
 void setValueToNull()
           
 java.lang.String toUrlString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathElement

public PathElement(java.lang.String id)
Creates new PathElement

Parameters:
id - The id of the the PathElement

PathElement

public PathElement(java.lang.String id,
                   java.lang.String part)
Creates new PathElement

Parameters:
id - The id of the new PartElement
part - The value of the first part

PathElement

public PathElement(java.lang.String id,
                   java.lang.String part1,
                   java.lang.String part2)
Creates new PathElement

Parameters:
id - The id of the new PartElement
part1 - The value of the first part
part2 - The value of the second part

PathElement

public PathElement(java.lang.String id,
                   java.lang.String part1,
                   java.lang.String part2,
                   java.lang.String part3)
Creates new PathElement

Parameters:
id - The id of the new PartElement
part1 - The value of the first part
part2 - The value of the second part
part3 - The value of the third part
Method Detail

addPart

public void addPart(java.lang.String part)
Add a part to the receiver

Parameters:
part - The part to add

getFirstPart

public java.lang.String getFirstPart()
Return the first part of the receiver

Returns:
The first part

getSecondPart

public java.lang.String getSecondPart()
Return the second part of the receiver

Returns:
The second part

getThirdPart

public java.lang.String getThirdPart()
Return the third part of the receiver

Returns:
The third part

getEvaluator

public Evaluator getEvaluator()
Return the Evaluator associated with the receiver.

Returns:
The evaluator

getEvaluatorId

public java.lang.String getEvaluatorId()
Getter for property evaluatorId.

Returns:
Value of property evaluatorId.

getParts

public java.util.List getParts()
Getter for property parts.

Returns:
Value of property parts.

toUrlString

public java.lang.String toUrlString()
DOCUMENT ME!

Returns:
DOCUMENT ME!

fromUrlString

public static PathElement fromUrlString(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

setValueToNull

public void setValueToNull()

Copyright 2002 by aragost