gov.nasa.gsfc.drl.rtstps.core
Class Builder
java.lang.Object
gov.nasa.gsfc.drl.rtstps.core.Builder
public class Builder
- extends java.lang.Object
This class creates an RT-STPS pipeline.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeFactory
private RtStpsNodeFactory nodeFactory
documentBuilder
private javax.xml.parsers.DocumentBuilder documentBuilder
config
private Configuration config
Builder
public Builder()
throws RtStpsException
- Throws:
RtStpsException
getStpsNodeFactory
public final RtStpsNodeFactory getStpsNodeFactory()
- Get the STPS node factory.
getConfiguration
public final Configuration getConfiguration()
- Get the last-used configuration. The builder does not change the
configuration until after it creates an STPS pipeline. It will be
null if no configuration has ever been loaded.
create
public FrameSynchronizer create(org.xml.sax.InputSource input)
throws RtStpsException
- Create an STPS pipeline.
- Returns:
- The FrameSynchronizer object.
- Throws:
RtStpsException
populateNodeFactory
private void populateNodeFactory()
throws RtStpsException
- Throws:
RtStpsException
createSpacecraftMap
private void createSpacecraftMap(org.w3c.dom.Document document,
Configuration config)
throws RtStpsException
- Ingest all spacecrafts from the xml configuration file.
NOTE: this seems to ingest info and do nothing with it with
no side effects. KR
- Throws:
RtStpsException
createNodes
private org.w3c.dom.Element createNodes(org.w3c.dom.Element root,
Configuration config)
throws RtStpsException
- Throws:
RtStpsException
createServiceNodes
private void createServiceNodes(org.w3c.dom.Element element,
Configuration config)
throws RtStpsException
- Throws:
RtStpsException
createPacketNodes
private void createPacketNodes(org.w3c.dom.Element element,
Configuration config)
throws RtStpsException
- Throws:
RtStpsException
createOutputChannels
private void createOutputChannels(org.w3c.dom.Element element,
Configuration config)
throws RtStpsException
- Throws:
RtStpsException
linkNodes
private void linkNodes(org.w3c.dom.Element element,
Configuration config)
throws RtStpsException
- Throws:
RtStpsException