001 /* 002 // $Id: //open/util/resgen/src/org/eigenbase/xom/Locator.java#1 $ 003 // Package org.eigenbase.xom is an XML Object Mapper. 004 // Copyright (C) 2008-2008 The Eigenbase Project 005 // Copyright (C) 2008-2008 Disruptive Tech 006 // Copyright (C) 2008-2008 LucidEra, Inc. 007 // 008 // This library is free software; you can redistribute it and/or modify it 009 // under the terms of the GNU Lesser General Public License as published by the 010 // Free Software Foundation; either version 2 of the License, or (at your 011 // option) any later version approved by The Eigenbase Project. 012 // 013 // This library is distributed in the hope that it will be useful, 014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 016 // GNU Lesser General Public License for more details. 017 // 018 // You should have received a copy of the GNU Lesser General Public License 019 // along with this library; if not, write to the Free Software 020 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 021 */ 022 package org.eigenbase.xom; 023 024 /** 025 * Callback to find the location of a node within its document. 026 * 027 * @author jhyde 028 * @version $Id: //open/util/resgen/src/org/eigenbase/xom/Locator.java#1 $ 029 * @since Jun 6, 2008 030 */ 031 public interface Locator { 032 Location getLocation(DOMWrapper wrapper); 033 } 034 035 // End Locator.java