Class AbstractEnclosingStepDelegate

    • Constructor Detail

      • AbstractEnclosingStepDelegate

        public AbstractEnclosingStepDelegate()
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface StepDelegate
        Returns:
        A unique string that identifies this kind of step, for example: "com.company.foostep".
      • toXml

        public void toXml​(javax.xml.stream.XMLStreamWriter writer,
                          ChartUIElement element,
                          java.lang.String tab)
                   throws javax.xml.stream.XMLStreamException
        Description copied from interface: StepDelegate
        Serialize the given element (which is guaranteed to be a step element of this factory's type) to the stream writer. Common step attributes (type, id, name, size, location) will have already been serialized, meaning, the xml stream will have just written the open <step> element. Close any elements you open.
        Specified by:
        toXml in interface StepDelegate
        Parameters:
        writer - the XMLStreamWriter to write to.
        element - the ChartUIElement to serialize.
        Throws:
        javax.xml.stream.XMLStreamException
      • getCompilationAlteringProperties

        public java.util.List<Property<?>> getCompilationAlteringProperties()
        Specified by:
        getCompilationAlteringProperties in interface StepDelegate
        Returns:
        a list of properties that may alter this step's compilation validation.
      • isEnclosingStep

        public static boolean isEnclosingStep​(ChartUIElement element)