blob: b30d886d630df508cff41a63134994ff8b3691b7 [file] [log] [blame]
//------------------------------------------------------------------------------
// Copyright (c) 2005, 2006 IBM Corporation and others.
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// which accompanies this distribution, and is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// Contributors:
// IBM Corporation - initial implementation
//------------------------------------------------------------------------------
package org.eclipse.epf.richtext.html;
/**
* Models a simplified HTML Image tag (<img>).
*
* @author Kelvin Low
* @since 1.0
*/
public class Image {
// The image URL.
private String url = ""; //$NON-NLS-1$
/**
* Creates a new <code>Image</code>.
*/
public Image() {
}
/**
* Returns the image URL.
*/
public String getURL() {
return url;
}
/**
* Sets the image URL.
*/
public void setURL(String url) {
this.url = url;
}
}