org.mindswap.multimedia
Interface MultimediaModel

All Known Implementing Classes:
MultimediaModelImpl

public interface MultimediaModel

Title: MultimediaModel

Description: A multimedia Model which extends Jena's Model interface

Copyright: Copyright (c) 2005

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


Method Summary
 Image createImage(java.lang.String uri)
          Create an Image resource w/ the given Id
 Region createRegion()
          Create a new region (as a bnode)
 Region createRegion(java.lang.String uri)
          Create a new named region
 Video createVideo(java.lang.String theURI)
          Create a new Video with the given id
 VideoFrame createVideoFrame()
          Create a new VideoFrame (as a bnode)
 VideoFrame createVideoFrame(java.lang.String theURI)
          Create a new named VideoFrame
 VideoSegment createVideoSegment()
          Create a new VideoSegment (as a bnode)
 VideoSegment createVideoSegment(java.lang.String theURI)
          Create a new named VideoSegment
 ModelProfile getModelProfile()
          Returns the current model profile for this model
 ResIterator listImages()
          List all images in this model
 ResIterator listVideos()
          List all videos in this model
 

Method Detail

createImage

public Image createImage(java.lang.String uri)
Create an Image resource w/ the given Id

Parameters:
uri - String the Id of the resource to create
Returns:
Image the newly created Image resource

createRegion

public Region createRegion()
Create a new region (as a bnode)

Returns:
Region the newly created region

createRegion

public Region createRegion(java.lang.String uri)
Create a new named region

Returns:
Region the new region belonging to this model

createVideo

public Video createVideo(java.lang.String theURI)
Create a new Video with the given id

Parameters:
theURI - String the id of the resource to create
Returns:
Video the new video resource

createVideoFrame

public VideoFrame createVideoFrame()
Create a new VideoFrame (as a bnode)

Returns:
VideoFrame the new VideoFrame

createVideoSegment

public VideoSegment createVideoSegment()
Create a new VideoSegment (as a bnode)

Returns:
VideoSegment the new VideoSegment

createVideoFrame

public VideoFrame createVideoFrame(java.lang.String theURI)
Create a new named VideoFrame

Parameters:
theURI - the id of the new VideoFrame
Returns:
VideoFrame the new VideoFrame

createVideoSegment

public VideoSegment createVideoSegment(java.lang.String theURI)
Create a new named VideoSegment

Parameters:
theURI - the id of the new video segment
Returns:
VideoSegment the new VideoSegment

getModelProfile

public ModelProfile getModelProfile()
Returns the current model profile for this model

Returns:
ModelProfile the current model profile

listImages

public ResIterator listImages()
List all images in this model

Returns:
Iterator an iterator

listVideos

public ResIterator listVideos()
List all videos in this model

Returns:
ResIterator an iterator over the Video resources present in this model