Reportable, ValidationEventLocatorItemObjectLocator, PropertyObjectLocator, RootObjectLocatorAbstractObjectLocator, DefaultItemObjectLocator, DefaultPropertyObjectLocator, DefaultRootObjectLocatorpublic interface ObjectLocator extends ValidationEventLocator, Reportable
| Modifier and Type | Method | 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.
|
getMessage, getMessage, getMessageCode, getMessageParametersgetColumnNumber, getLineNumber, getNode, getObject, getOffset, getURLObjectLocator 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.