View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 1.11,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.model;
7   
8   /**
9    * Interface InputLocationTracker.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public interface InputLocationTracker
15  {
16  
17        //-----------/
18       //- Methods -/
19      //-----------/
20  
21      /**
22       * Gets the location of the specified field in the input
23       * source.
24       * 
25       * @param field The key of the field, must not be
26       * <code>null</code>.
27       * @return The location of the field in the input source or
28       * <code>null</code> if unknown.
29       */
30      public InputLocation getLocation( Object field );
31      /**
32       * Sets the location of the specified field.
33       * 
34       * @param field The key of the field, must not be
35       * <code>null</code>.
36       * @param location The location of the field, may be
37       * <code>null</code>.
38       */
39      public void setLocation( Object field, InputLocation location );
40  }