public final class DefaultPropertyObjectLocator extends AbstractObjectLocator implements PropertyObjectLocator
| Modifier and Type | Field and Description |
|---|---|
protected String |
propertyName
Field name.
|
object, parentLocator| Modifier | Constructor and Description |
|---|---|
protected |
DefaultPropertyObjectLocator(ObjectLocator parentLocator,
String propertyName,
Object propertyValue)
Constructs a new validation event locator.
|
| Modifier and Type | Method and 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, waitgetObjectgetParentLocator, getPath, getPathAsString, item, propertygetColumnNumber, getLineNumber, getNode, getOffset, getURLgetMessage, getMessage, getMessageCodeprotected final String propertyName
protected DefaultPropertyObjectLocator(ObjectLocator parentLocator, String propertyName, Object propertyValue)
parentLocator - parent location (may be null).object - object.propertyName - field name.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-2016. All Rights Reserved.