ValidationEventLocator, Reportable, ObjectLocator, PropertyObjectLocatorpublic final class DefaultPropertyObjectLocator extends AbstractObjectLocator implements PropertyObjectLocator
| Modifier and Type | Field | Description |
|---|---|---|
protected String |
propertyName |
Field name.
|
object, parentLocator| Modifier | Constructor | Description |
|---|---|---|
protected |
DefaultPropertyObjectLocator(ObjectLocator parentLocator,
String propertyName,
Object propertyValue) |
Constructs a new validation event locator.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected String |
getDefaultMessage() |
|
Object[] |
getMessageParameters() |
Returns parameters for message formatting.
|
String |
getPropertyName() |
|
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, waitgetParentLocator, getPath, getPathAsString, item, propertygetObjectgetMessage, getMessage, getMessageCodegetColumnNumber, getLineNumber, getNode, getOffset, getURLprotected final String propertyName
protected DefaultPropertyObjectLocator(ObjectLocator parentLocator, String propertyName, Object propertyValue)
parentLocator - locator of the parent object.propertyName - name of the property.propertyValue - value of the property.public String getPropertyName()
getPropertyName in interface PropertyObjectLocatorpublic Object[] getMessageParameters()
getMessageParameters in interface Reportableprotected String getDefaultMessage()
getDefaultMessage in class AbstractObjectLocatorprotected String getStepAsString()
getStepAsString in class AbstractObjectLocatorCopyright © 2005–2018. All rights reserved.