org.mindswap.multimedia
Interface Region

All Superinterfaces:
DigitalMedia
All Known Implementing Classes:
RegionImpl

public interface Region
extends DigitalMedia

Title: Region

Description: An implementation of the DigitalMedia class specific to the Mindswap multimedia ontology concept ImagePart

Copyright: Copyright (c) 2005

Company: Mindswap (http://www.mindswap.org)


Method Summary
 Image getImage()
          Returns the Image this Region is a part of.
 java.lang.String getRegionLabel()
          Returns the region label for this region resource.
 java.lang.String getSVGOutline()
          Returns the value of the svgOutline property
 Region setSVGOutline(java.lang.String theSVG)
          Sets the svg as the outline for the region.
 
Methods inherited from interface org.mindswap.multimedia.DigitalMedia
addDepicts, listDepicts, removeDepicts
 

Method Detail

getRegionLabel

public java.lang.String getRegionLabel()
Returns the region label for this region resource. This is a convience method for retriving the rdfs:label of this resource

Returns:
String the label, or null if none exists

setSVGOutline

public Region setSVGOutline(java.lang.String theSVG)
Sets the svg as the outline for the region.

Parameters:
theSVG - String the svg
Returns:
Region a reference to this region

getSVGOutline

public java.lang.String getSVGOutline()
Returns the value of the svgOutline property

Returns:
String the svgOutline for the region

getImage

public Image getImage()
Returns the Image this Region is a part of.

Returns:
Image the image for the region, or null if one is not found