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, setURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetColumnNumber, getLineNumber, getNode, getObject, getOffset, getURLpublic 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 ValidationEventLocatorExpublic String toString()
toString in class ValidationEventLocatorImplObject.equals(Object)Copyright © 2017 JBoss by Red Hat. All rights reserved.