001 // =================== DO NOT EDIT THIS FILE ====================
002 // Generated by Modello 1.7,
003 // any modifications will be overwritten.
004 // ==============================================================
005
006 package org.apache.maven.model;
007
008 /**
009 * Interface InputLocationTracker.
010 *
011 * @version $Revision$ $Date$
012 */
013 @SuppressWarnings( "all" )
014 public interface InputLocationTracker
015 {
016
017 //-----------/
018 //- Methods -/
019 //-----------/
020
021 /**
022 * Gets the location of the specified field in the input
023 * source.
024 *
025 * @param field The key of the field, must not be
026 * <code>null</code>.
027 * @return The location of the field in the input source or
028 * <code>null</code> if unknown.
029 */
030 public InputLocation getLocation( Object field );
031 /**
032 * Sets the location of the specified field.
033 *
034 * @param field The key of the field, must not be
035 * <code>null</code>.
036 * @param location The location of the field, may be
037 * <code>null</code>.
038 */
039 public void setLocation( Object field, InputLocation location );
040 }