|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gstreamer.lowlevel.NativeValue
org.gstreamer.lowlevel.Handle
org.gstreamer.lowlevel.NativeObject
org.gstreamer.lowlevel.RefCountedObject
org.gstreamer.GObject
org.gstreamer.GstObject
org.gstreamer.PluginFeature
org.gstreamer.ElementFactory
public class ElementFactory
ElementFactory is used to create instances of elements.
Use the find(java.lang.String)
and create(java.lang.String)
methods to create element instances
or use make(java.lang.String, java.lang.String)
as a convenient shortcut.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gstreamer.GObject |
---|
GObject.GCallback |
Nested classes/interfaces inherited from class org.gstreamer.lowlevel.NativeObject |
---|
NativeObject.Initializer |
Field Summary |
---|
Fields inherited from class org.gstreamer.lowlevel.NativeObject |
---|
defaultInit, ownsHandle |
Constructor Summary | |
---|---|
ElementFactory(NativeObject.Initializer init)
Creates a new instance of ElementFactory |
Method Summary | |
---|---|
Element |
create(java.lang.String name)
Creates a new element from the factory. |
static ElementFactory |
find(java.lang.String name)
Retrieve an instance of a factory that can produce Element s |
java.lang.String |
getAuthor()
Returns the name of the person who wrote the factory. |
java.lang.String |
getDescription()
Returns a description of the factory. |
java.lang.String |
getKlass()
Returns a string describing the type of factory. |
java.lang.String |
getLongName()
Returns the long, English name for the factory. |
java.util.List<StaticPadTemplate> |
getStaticPadTemplates()
Gets the list of StaticPadTemplate for this factory. |
static Element |
make(java.lang.String factoryName,
java.lang.String name)
Creates a new Element from the specified factory. |
Methods inherited from class org.gstreamer.PluginFeature |
---|
checkVersion, getName, getRank, setName, setRank, toString |
Methods inherited from class org.gstreamer.GstObject |
---|
addListenerProxy, initializer, initializer, objectFor, objectFor, ref, removeListenerProxy, steal, unref |
Methods inherited from class org.gstreamer.GObject |
---|
addCallback, connect, connect, connect, disconnect, disconnect, disposeNativeHandle, g_signal_connect, get, getPointer, invalidate, objectFor, removeCallback, set |
Methods inherited from class org.gstreamer.lowlevel.NativeObject |
---|
classFor, disown, dispose, equals, finalize, getNativeAddress, handle, hashCode, initializer, instanceFor, isDisposed, nativeValue, objectFor, objectFor |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ElementFactory(NativeObject.Initializer init)
init
- internal initialization data.Method Detail |
---|
public Element create(java.lang.String name)
name
- the name to assign to the created Element
Element
public java.lang.String getAuthor()
public java.lang.String getDescription()
public java.lang.String getLongName()
public java.lang.String getKlass()
public java.util.List<StaticPadTemplate> getStaticPadTemplates()
StaticPadTemplate
for this factory.
StaticPadTemplate
public static ElementFactory find(java.lang.String name)
Element
s
name
- The type of Element
to produce.
Element
s of the
desired type.public static Element make(java.lang.String factoryName, java.lang.String name)
factoryName
- The name of the factory to use to produce the Elementname
- The name to assign to the created Element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |