public interface ObjectLocator extends ValidationEventLocator, Reportable
Modifier and Type | Method and Description |
---|---|
ObjectLocator |
getParentLocator() |
ObjectLocator[] |
getPath() |
String |
getPathAsString() |
ItemObjectLocator |
item(int itemIndex,
Object itemValue)
Creates a locator for the item (like list or array item) relative to this
locator.
|
PropertyObjectLocator |
property(String propertyName,
Object propertyValue)
Creates a locator for the property, relative to this locator.
|
getColumnNumber, getLineNumber, getNode, getObject, getOffset, getURL
getMessage, getMessage, getMessageCode, getMessageParameters
ObjectLocator getParentLocator()
null
.ObjectLocator[] getPath()
String getPathAsString()
PropertyObjectLocator property(String propertyName, Object propertyValue)
propertyName
- name of the property, must not be null
.propertyValue
- value of the property, may be null
.ItemObjectLocator item(int itemIndex, Object itemValue)
itemIndex
- index of the item.itemValue
- value of the item.Copyright © 2005–2018. All rights reserved.