|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jzeno.echo.script.test.MockIdentifier
public class MockIdentifier
| Constructor Summary | |
|---|---|
MockIdentifier()
|
|
| Method Summary | |
|---|---|
java.util.List |
getComponent(java.lang.String label)
Retrieve the (unique) component that is identified by the given label. |
java.lang.String |
getLabel(Component c)
Create a string representation (called a label) of a given component according to this identifier's strategy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockIdentifier()
| Method Detail |
|---|
public java.util.List getComponent(java.lang.String label)
IdentifierRetrieve the (unique) component that is identified by the given label.
Should return null if it was unable to retrieve the component
getComponent in interface Identifierpublic java.lang.String getLabel(Component c)
IdentifierCreate a string representation (called a label) of a given component according to this identifier's strategy. Do not use the '|' character in the generated string, as it is used to seperate multiple labels of different identifier strategies.
This method should return null if it was unable to create a label for the given component
getLabel in interface Identifier
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||