Class EntryExitPairsXml

java.lang.Object
jmri.configurexml.AbstractXmlAdapter
jmri.jmrit.entryexit.configurexml.EntryExitPairsXml
All Implemented Interfaces:
XmlAdapter

This module handles configuration for the Entry Exit pairs used in interlocking on a Layout Editor Panel.
  • Constructor Details

  • Method Details

    • store

      public org.jdom2.Element store(Object o)
      Default implementation for storing the contents of a PositionablePoint.
      Parameters:
      o - Object to store, of type PositionablePoint
      Returns:
      Element containing the complete info
    • setStoreElementClass

      public void setStoreElementClass(org.jdom2.Element messages)
      Define attribute for an element that is to be stored.
      Parameters:
      messages - Storage element
    • load

      public boolean load(org.jdom2.Element shared, org.jdom2.Element perNode)
      Load, starting with the layoutBlock element, then all the value-icon pairs.
      Specified by:
      load in interface XmlAdapter
      Overrides:
      load in class AbstractXmlAdapter
      Parameters:
      shared - Top level Element to unpack
      perNode - ignored in this application
      Returns:
      true if loaded without errors; false otherwise
    • loadOrder

      public int loadOrder()
      Description copied from class: AbstractXmlAdapter
      Specified by:
      loadOrder in interface XmlAdapter
      Overrides:
      loadOrder in class AbstractXmlAdapter