|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--VASSAL.tools.ComponentPathBuilder
Provides an XPath-like syntax for identifying configuration components
| Inner Class Summary | |
static class |
ComponentPathBuilder.PathFormatException
|
| Constructor Summary | |
ComponentPathBuilder()
|
|
| Method Summary | |
java.lang.String |
getId(Configurable[] targetPath)
Return a string identifying the specified Configurable components as a path
through the configuration parent-child hierarchy. |
static ComponentPathBuilder |
getInstance()
|
Configurable[] |
getPath(java.lang.String id)
Return a list of Configurable components specified by the given identifier |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentPathBuilder()
| Method Detail |
public static ComponentPathBuilder getInstance()
public java.lang.String getId(Configurable[] targetPath)
Configurable components as a path
through the configuration parent-child hierarchy.targetPath -
public Configurable[] getPath(java.lang.String id)
throws ComponentPathBuilder.PathFormatException
Configurable components specified by the given identifierid - ComponentPathBuilder.PathFormatException - if no such component exists
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||