View Javadoc

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