Interface ElementAttributeReader

  • All Known Implementing Classes:
    JMadModelImpl

    public interface ElementAttributeReader
    This interface provides a method to read attribute properties from MadX.
    • Method Detail

      • readAttributes

        void readAttributes​(Element element)
                     throws JMadModelException
        reads the properties for the given element
        Parameters:
        element - the element for which to read the properties
        Throws:
        JMadModelException - if the reading of the attributes fails
      • readAttributes

        void readAttributes​(java.util.Collection<Element> elements)
                     throws JMadModelException
        reads the properties for all the given elements
        Parameters:
        elements - the elements for which to read the attributes
        Throws:
        JMadModelException - if the reading of the attributes failed