001package org.biojava.bio.program.tagvalue; 002 003/** 004 * Interface for objects that change tag names or properties systematically. 005 * 006 * @author Matthew Pocock 007 * @since 1.4 008 */ 009public interface PropertyChanger { 010 /** 011 * <p> 012 * <code>getNewTag</code> returns the tag which substitutes the 013 * specified value. 014 * </p> 015 * 016 * <p> 017 * If there is no mapping associated with this tag, it is returned 018 * unchanged. 019 * </p> 020 * 021 * @param oldTag an <code>Object</code> to substitute. 022 * 023 * @return an <code>Object</code>. 024 */ 025 Object getNewTag(Object oldTag); 026}