|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mindswap.multimedia.MultimediaFactory
Title: MultimediaModelFactory
Description: A factory for creating Multimedia models
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org)
| Constructor Summary | |
MultimediaFactory()
|
|
| Method Summary | |
static Image |
createImage(java.lang.String theURI,
MultimediaModel theModel)
Creates a new Image resource in the specified Model with the given uri |
static MultimediaModel |
createMultimediaModel()
Creates a new multimedia model using the Mindswap profile |
static MultimediaModel |
createMultimediaModel(ModelProfile theProfile)
Creates a new multimedia model using the specified model profile |
static Region |
createRegion(MultimediaModel theModel)
Create a region resource in the given model |
static Region |
createRegion(java.lang.String theURI,
MultimediaModel theModel)
Create a region resource in the given model |
static Video |
createVideo(java.lang.String theURI,
MultimediaModel theModel)
Create a Video resource in the given model |
static VideoFrame |
createVideoFrame(MultimediaModel theModel)
Create a VideoFrame resource in the given model |
static VideoFrame |
createVideoFrame(java.lang.String theURI,
MultimediaModel theModel)
Create a VideoFrame resource in the given model |
static VideoSegment |
createVideoSegment(MultimediaModel theModel)
Create a VideoSegment resource in the given model |
static VideoSegment |
createVideoSegment(java.lang.String theURI,
MultimediaModel theModel)
Create a VideoSegment resource in the given model |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MultimediaFactory()
| Method Detail |
public static MultimediaModel createMultimediaModel()
public static MultimediaModel createMultimediaModel(ModelProfile theProfile)
theProfile - ModelProfile the model profile to use
public static Image createImage(java.lang.String theURI,
MultimediaModel theModel)
theURI - String the id of the new Image resourcetheModel - MultimediaModel the model the resource will belong to
public static Region createRegion(MultimediaModel theModel)
theModel - MultimediaModel the model
public static Region createRegion(java.lang.String theURI,
MultimediaModel theModel)
theURI - String the uri of the new region, or null for a bnodetheModel - MultimediaModel the model to create the resouce in
public static Video createVideo(java.lang.String theURI,
MultimediaModel theModel)
theURI - the id of the new Video resourcetheModel - MultimediaModel the model
public static VideoFrame createVideoFrame(MultimediaModel theModel)
theModel - MultimediaModel the model
public static VideoFrame createVideoFrame(java.lang.String theURI,
MultimediaModel theModel)
theURI - the id of the video frametheModel - MultimediaModel the model
public static VideoSegment createVideoSegment(MultimediaModel theModel)
theModel - MultimediaModel the model
public static VideoSegment createVideoSegment(java.lang.String theURI,
MultimediaModel theModel)
theURI - the id of the new video segmenttheModel - MultimediaModel the model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||