Top Fields Constructors Methods
org.glassfish.jaxb.runtime.util

public Class ValidationEventLocatorExImpl

extends ValidationEventLocatorImpl
implements ValidationEventLocatorEx
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.runtime.ValidationEventLocatorEx, jakarta.xml.bind.ValidationEventLocator
Imports
org.glassfish.jaxb.runtime.ValidationEventLocatorEx, jakarta.xml.bind.helpers.ValidationEventLocatorImpl

Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getFieldName()

Implements org.glassfish.jaxb.runtime.ValidationEventLocatorEx.getFieldName.

Returns the field name of the object where the error occured.

public String
toString()

Overrides jakarta.xml.bind.helpers.ValidationEventLocatorImpl.toString.

Returns a nice string representation for better debug experience.

Inherited from jakarta.xml.bind.helpers.ValidationEventLocatorImpl:
getColumnNumbergetLineNumbergetNodegetObjectgetOffsetgetURLsetColumnNumbersetLineNumbersetNodesetObjectsetOffsetsetURL

Field Detail

fieldNameback to summary
private final String fieldName

Constructor Detail

ValidationEventLocatorExImplback to summary
public ValidationEventLocatorExImpl(Object target, String fieldName)

Method Detail

getFieldNameback to summary
public String getFieldName()

Implements org.glassfish.jaxb.runtime.ValidationEventLocatorEx.getFieldName.

Doc from org.glassfish.jaxb.runtime.ValidationEventLocatorEx.getFieldName.

Returns 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 getObject() method where the error occured.

Annotations
@Override
toStringback to summary
public String toString()

Overrides jakarta.xml.bind.helpers.ValidationEventLocatorImpl.toString.

Returns a nice string representation for better debug experience.

Annotations
@Override