org.metawidget.statically.html.widgetbuilder.IdHolder Maven / Gradle / Ivy
// Metawidget
//
// This library is dual licensed under both LGPL and a commercial
// license.
//
// LGPL: this library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// Commercial License: See http://metawidget.org for details
package org.metawidget.statically.html.widgetbuilder;
/**
* Marks the widget as needing an id.
*
* All HTML elements can have an id, but for most this is just clutter. So we make it
* explicit which ones we want to have ids assigned.
*
* @author Richard Kennard
*/
public interface IdHolder {
//
// Methods
//
String getId();
void setId( String id );
}