|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.source.resource.positional.Position
public final class Position
Stand for a position in the document where something can be added, i.e., //head.
| Field Summary | |
|---|---|
static String |
BODY
The body position is given by this specification XPath. |
static Position |
BODY_END
On body end. |
static Position |
BODY_START
On body start. |
static String |
HEAD
The head position is given by this specification XPath. |
static Position |
HEAD_END
On header end. |
static Position |
HEAD_START
On header start. |
| Method Summary | |
|---|---|
EPlace |
getPlace()
The placement element. |
String |
getXpath()
The XPath reference. |
static Position |
newPosition(String xpath,
EPlace place)
Creates a new position based on XPath information. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String HEAD
public static final String BODY
public static final Position HEAD_START
public static final Position HEAD_END
public static final Position BODY_START
public static final Position BODY_END
| Method Detail |
|---|
public String getXpath()
public EPlace getPlace()
public static Position newPosition(String xpath,
EPlace place)
xpath - The XPath target.place - The place relative to the XPath.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||