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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObject
getParentLocator, getPath, getPathAsString, item, property
getColumnNumber, getLineNumber, getNode, getOffset, getURL
getMessage, getMessage, getMessageCode
protected DefaultItemObjectLocator(ObjectLocator parentLocator, int itemIndex, Object itemValue)
parentLocator
- parent locator.itemIndex
- item index.itemValue
- item value.public int getIndex()
getIndex
in interface ItemObjectLocator
public Object[] getMessageParameters()
Reportable
getMessageParameters
in interface Reportable
protected String getDefaultMessage()
getDefaultMessage
in class AbstractObjectLocator
protected String getStepAsString()
getStepAsString
in class AbstractObjectLocator
Copyright © 2005–2018. All rights reserved.