Package com.sun.xml.bind.util
Class ValidationEventLocatorExImpl
java.lang.Object
javax.xml.bind.helpers.ValidationEventLocatorImpl
com.sun.xml.bind.util.ValidationEventLocatorExImpl
- All Implemented Interfaces:
ValidationEventLocatorEx,javax.xml.bind.ValidationEventLocator
public class ValidationEventLocatorExImpl
extends javax.xml.bind.helpers.ValidationEventLocatorImpl
implements ValidationEventLocatorEx
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the field name of the object where the error occured.toString()Returns a nice string representation for better debug experience.Methods inherited from class javax.xml.bind.helpers.ValidationEventLocatorImpl
getColumnNumber, getLineNumber, getNode, getObject, getOffset, getURL, setColumnNumber, setLineNumber, setNode, setObject, setOffset, setURLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.bind.ValidationEventLocator
getColumnNumber, getLineNumber, getNode, getObject, getOffset, getURL
-
Constructor Details
-
ValidationEventLocatorExImpl
-
-
Method Details
-
getFieldName
Description copied from interface:ValidationEventLocatorExReturns the field name of the object where the error occured.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.- Specified by:
getFieldNamein interfaceValidationEventLocatorEx
-
toString
Returns a nice string representation for better debug experience.- Overrides:
toStringin classjavax.xml.bind.helpers.ValidationEventLocatorImpl
-