jmri.implementation.configurexml
Class QuadOutputSignalHeadXml

java.lang.Object
  extended by jmri.configurexml.AbstractXmlAdapter
      extended by jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML
          extended by jmri.implementation.configurexml.DoubleTurnoutSignalHeadXml
              extended by jmri.implementation.configurexml.TripleTurnoutSignalHeadXml
                  extended by jmri.implementation.configurexml.QuadOutputSignalHeadXml
All Implemented Interfaces:
XmlAdapter

public class QuadOutputSignalHeadXml
extends TripleTurnoutSignalHeadXml

Handle XML configuration for QuadOutputSignalHead objects.

Author:
Bob Jacobsen Copyright: Copyright (c) 2009

Constructor Summary
QuadOutputSignalHeadXml()
           
 
Method Summary
 boolean load(Element element)
          Create a QuadOutputSignalHead
 Element store(Object o)
          Default implementation for storing the contents of a QuadOutputSignalHead
 
Methods inherited from class jmri.implementation.configurexml.TripleTurnoutSignalHeadXml
load
 
Methods inherited from class jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML
getSystemName, getUserName, getUserName, loadCommon, storeCommon
 
Methods inherited from class jmri.configurexml.AbstractXmlAdapter
creationErrorEncountered, getConfigXmlManager, loadDeferred, loadOrder, setConfigXmlManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadOutputSignalHeadXml

public QuadOutputSignalHeadXml()
Method Detail

store

public Element store(Object o)
Default implementation for storing the contents of a QuadOutputSignalHead

Specified by:
store in interface XmlAdapter
Overrides:
store in class TripleTurnoutSignalHeadXml
Parameters:
o - Object to store, of type TripleTurnoutSignalHead
Returns:
Element containing the complete info

load

public boolean load(Element element)
Create a QuadOutputSignalHead

Specified by:
load in interface XmlAdapter
Overrides:
load in class TripleTurnoutSignalHeadXml
Parameters:
element - Top level Element to unpack.
Returns:
true if successful


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads