edu.cmu.emulator.creator.config
Class Channel

java.lang.Object
  extended by edu.cmu.emulator.creator.config.ConfigNode
      extended by edu.cmu.emulator.creator.config.Channel

public class Channel
extends ConfigNode


Field Summary
private  String dest
           
private  List<Path> paths
           
private  String src
           
 
Constructor Summary
Channel(Channel other)
           
Channel(String src, String dest, List<Path> paths)
           
 
Method Summary
 void appendChildren(Element parent, NodeList children)
           
static Channel fromXML(Element el)
           
 String getDest()
           
 List<Path> getPaths()
           
 String getSrc()
           
 void setDest(String dest)
           
 void setSrc(String src)
           
 String toString()
           
protected  Element toXML(Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

src

private String src

dest

private String dest

paths

private List<Path> paths
Constructor Detail

Channel

public Channel(String src,
               String dest,
               List<Path> paths)

Channel

public Channel(Channel other)
Method Detail

getSrc

public String getSrc()

getDest

public String getDest()

getPaths

public List<Path> getPaths()

setSrc

public void setSrc(String src)

setDest

public void setDest(String dest)

toString

public String toString()
Overrides:
toString in class Object

fromXML

public static Channel fromXML(Element el)
                       throws ConfigException
Throws:
ConfigException

toXML

protected Element toXML(Document doc)

appendChildren

public void appendChildren(Element parent,
                           NodeList children)


Copyright © 2013. All Rights Reserved.