public class ValidationEventLocatorExImpl extends ValidationEventLocatorImpl implements ValidationEventLocatorEx
Constructor and Description |
---|
ValidationEventLocatorExImpl(Object target,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
Returns the field name of the object where the error occured.
|
String |
toString()
Returns a nice string representation for better debug experience.
|
getColumnNumber, getLineNumber, getNode, getObject, getOffset, getURL, setColumnNumber, setLineNumber, setNode, setObject, setOffset, setURL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getColumnNumber, getLineNumber, getNode, getObject, getOffset, getURL
public String getFieldName()
ValidationEventLocatorEx
This method always returns null when you are doing
a validation during unmarshalling.
When not null, the field name indicates the field of the object
designated by the ValidationEventLocator.getObject()
method where the error
occured.
getFieldName
in interface ValidationEventLocatorEx
public String toString()
toString
in class ValidationEventLocatorImpl
Object.equals(Object)
Copyright © 2017 JBoss by Red Hat. All rights reserved.