Interface InputLocationTracker

All Known Implementing Classes:
Activation, ActivationFile, ActivationOS, ActivationProperty, IdentifiableBase, InputLocation, Mirror, Profile, Proxy, Repository, RepositoryBase, RepositoryPolicy, Server, Settings, TrackableBase

public interface InputLocationTracker
Tracks input locations for model fields.

Implementations store a mapping from keys (usually field names or indices) to the corresponding InputLocation in the source. Keys must be non-null.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the location of the specified field in the input source.
  • Method Details

    • getLocation

      InputLocation getLocation(Object field)
      Gets the location of the specified field in the input source.
      Parameters:
      field - the key of the field, must not be null
      Returns:
      the location of the field in the input source or null if unknown
      Throws:
      NullPointerException - if field is null