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, 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 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 PropertyObjectLocator
public Object[] getMessageParameters()
getMessageParameters
in interface Reportable
protected String getDefaultMessage()
getDefaultMessage
in class AbstractObjectLocator
protected String getStepAsString()
getStepAsString
in class AbstractObjectLocator
Copyright © 2005–2018. All rights reserved.