Class ElementFactory
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.elem.impl.ElementFactory
-
public final class ElementFactory extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Element
createElement(MadxElementType madxElementType, java.lang.String elementName)
factory method for an element of the according type.
-
-
-
Method Detail
-
createElement
public static Element createElement(MadxElementType madxElementType, java.lang.String elementName)
factory method for an element of the according type.- Parameters:
madxElementType
- the type of the element as represented in madx itselfelementName
- the name of the new element- Returns:
- an element of the correct Type.
-
-