org.gstreamer
Class GstXML

java.lang.Object
  extended by org.gstreamer.GstXML

public class GstXML
extends java.lang.Object

Loads and saves pipelines in an XML file


Constructor Summary
GstXML(java.io.File file)
          Creates a new Gstreamer XML reader/writer
 
Method Summary
 Element loadElement(java.lang.String elementName)
          Loads a new Element from the XML file
 void saveElement(Element element)
          Saves an existing pipeline to a XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GstXML

public GstXML(java.io.File file)
Creates a new Gstreamer XML reader/writer

Parameters:
file - the file to load from/save to
Method Detail

loadElement

public Element loadElement(java.lang.String elementName)
Loads a new Element from the XML file

Parameters:
elementName - the name of the element to load
Returns:
a new Element

saveElement

public void saveElement(Element element)
Saves an existing pipeline to a XML file.

Parameters:
element - the element to save