jdsl
Class GenericPosition
java.lang.Object
|
+--jdsl.GenericPosition
- public class GenericPosition
- extends java.lang.Object
- implements Position
A completely generic position.
|
Field Summary |
protected java.lang.Object |
e_
|
|
Constructor Summary |
GenericPosition(Container c,
java.lang.Object element)
Constructs a new Generic position with a given container and element |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
e_
protected java.lang.Object e_
GenericPosition
public GenericPosition(Container c,
java.lang.Object element)
- Constructs a new Generic position with a given container and element
element
public java.lang.Object element()
throws InvalidPositionException
- Gets the element of this position. Note Never throws an
InvalidPositionException
- Specified by:
- element in interface Position
container
public Container container()
throws InvalidPositionException
- Gets the container of this position. Note Never throws an
InvalidPositionException
- Specified by:
- container in interface Position
setElement
public void setElement(java.lang.Object e)
throws InvalidPositionException
- Sets the element for this position. Note Never throws an
InvalidPositionException
setContainer
public void setContainer(Container c)
throws InvalidPositionException
- Sets the container for this position. Note Never throws an
InvalidPositionException