public final class DefaultItemObjectLocator extends AbstractObjectLocator implements ItemObjectLocator
| Modifier and Type | Field and Description |
|---|---|
protected int |
index
Item index.
|
object, parentLocator| Modifier | Constructor and Description |
|---|---|
protected |
DefaultItemObjectLocator(ObjectLocator parentLocator,
int itemIndex,
Object itemValue)
Constructs a new item locator.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDefaultMessage() |
int |
getIndex()
Returns item index.
|
Object[] |
getMessageParameters()
Returns parameters used to format the message.
|
protected String |
getStepAsString() |
getColumnNumber, getLineNumber, getMessage, getMessage, getMessageCode, getNode, getObject, getOffset, getParentLocator, getPath, getPathAsString, getURL, item, property, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetObjectgetParentLocator, getPath, getPathAsString, item, propertygetColumnNumber, getLineNumber, getNode, getOffset, getURLgetMessage, getMessage, getMessageCodeprotected DefaultItemObjectLocator(ObjectLocator parentLocator, int itemIndex, Object itemValue)
parentLocator - parent locator.itemIndex - item index.itemValue - item value.public int getIndex()
getIndex in interface ItemObjectLocatorpublic Object[] getMessageParameters()
ReportablegetMessageParameters in interface Reportableprotected String getDefaultMessage()
getDefaultMessage in class AbstractObjectLocatorprotected String getStepAsString()
getStepAsString in class AbstractObjectLocatorCopyright © 2005-2016. All Rights Reserved.