|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectResourceImpl
org.mindswap.multimedia.impl.ImageImpl
Title: ImageImpl
Description: Implements the Image interface
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org/)
| Field Summary | |
static Implementation |
factory
|
| Constructor Summary | |
protected |
ImageImpl(Node n,
EnhGraph eg)
Creates a new Image resource. Not for public use. |
| Method Summary | |
DigitalMedia |
addDepicts(Resource theDepiction)
Add the statement that this media depicts the specifed instance |
Image |
addRegion(Region theRegion)
Add the statement that this region is a sub-region of this image |
java.lang.String |
getDCDescription()
Returns the dc:description property for this image. |
java.net.URL |
getImageURL()
Returns the URL of the image. |
StmtIterator |
listDepicts()
List all the depictions for this Image |
StmtIterator |
listRegions()
List all the sub-regions of this Image |
protected MultimediaModel |
mustBeValidModel()
|
DigitalMedia |
removeDepicts(Resource theDepiction)
Remove the statement that this media depicts the specifed instance |
Image |
removeRegion(Region theRegion)
Remove the statement that this region is a sub-region of this image |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static Implementation factory
| Constructor Detail |
protected ImageImpl(Node n,
EnhGraph eg)
n - Node the node to wrap as an imageeg - EnhGraph the graph the node belongs to| Method Detail |
public java.net.URL getImageURL()
getImageURL in interface Imagepublic java.lang.String getDCDescription()
getDCDescription in interface Imagepublic StmtIterator listRegions()
listRegions in interface Imagepublic StmtIterator listDepicts()
listDepicts in interface Imagepublic DigitalMedia addDepicts(Resource theDepiction)
addDepicts in interface DigitalMediatheDepiction - Resource the resource to depict
public DigitalMedia removeDepicts(Resource theDepiction)
removeDepicts in interface DigitalMediatheDepiction - Resource the depicted resource
public Image addRegion(Region theRegion)
addRegion in interface ImagetheRegion - the new sub region
public Image removeRegion(Region theRegion)
removeRegion in interface ImagetheRegion - the sub region to remove
protected MultimediaModel mustBeValidModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||