ValidationEventLocator, Reportable, ItemObjectLocator, ObjectLocatorpublic final class DefaultItemObjectLocator extends AbstractObjectLocator implements ItemObjectLocator
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
index |
Item index.
|
object, parentLocator| Modifier | Constructor | Description |
|---|---|---|
protected |
DefaultItemObjectLocator(ObjectLocator parentLocator,
int itemIndex,
Object itemValue) |
Constructs a new item locator.
|
| Modifier and Type | Method | 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, toStringgetObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParentLocator, getPath, getPathAsString, item, propertygetMessage, getMessage, getMessageCodegetColumnNumber, getLineNumber, getNode, getOffset, getURLprotected 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–2018. All rights reserved.