|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectValidationEventLocatorImpl
com.sun.xml.bind.util.ValidationEventLocatorExImpl
public class ValidationEventLocatorExImpl
Constructor Summary | |
---|---|
ValidationEventLocatorExImpl(java.lang.Object target,
java.lang.String fieldName)
|
Method Summary | |
---|---|
java.lang.String |
getFieldName()
Returns the field name of the object where the error occured. |
java.lang.String |
toString()
Returns a nice string representation for better debug experience. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidationEventLocatorExImpl(java.lang.Object target, java.lang.String fieldName)
Method Detail |
---|
public java.lang.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 #getObject()
method where the error
occured.
getFieldName
in interface ValidationEventLocatorEx
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |