public abstract class ZLocator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ZLocator |
nextLocator_
The next locator.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ZLocator()
Creates a single-level locator.
|
protected |
ZLocator(ZLocator nl)
Creates a multi-level locator.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ZValue |
apply(ZValue v)
Locates a value within
v. |
static ZLocator |
fromString(String s) |
protected ZValue |
recurse(ZValue v)
Does the recursive part of an apply.
|
protected ZLocator nextLocator_
nextLocator will be null.protected ZLocator()
protected ZLocator(ZLocator nl)
protected ZValue recurse(ZValue v) throws ClassCastException
ClassCastExceptionpublic abstract ZValue apply(ZValue v) throws ClassCastException
v.ClassCastException - If the value passed wasn't of the correct type
for this locator, or if the next locator didn't match up with its
variable.Copyright © 2003–2016 Community Z Tools Project. All rights reserved.