public class AbstractActionStepDelegate extends java.lang.Object implements StepDelegate, ActionStepProperties
ERROR_HANDLER_SCRIPT, FACTORY_ID, NOTES, START_SCRIPT, STOP_SCRIPT, TIMER_SCRIPTS
AssociatedData, Breakpoint, FactoryId, Name
Constructor and Description |
---|
AbstractActionStepDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
fromXML(org.w3c.dom.Element domElement,
ChartUIElement uiElement)
Given an XML DOM element, fill in the properties of the
ChartUIElement . |
java.util.List<Property<?>> |
getCompilationAlteringProperties() |
java.lang.String |
getId() |
void |
toXML(javax.xml.stream.XMLStreamWriter writer,
ChartUIElement element,
java.lang.String tab)
Serialize the given element (which is guaranteed to be a step element of this factory's type) to the stream
writer.
|
void |
validate(ChartUIElement element,
ChartCompilationResults results)
Provides step implementations a chance to validate their settings.
|
public java.lang.String getId()
getId
in interface StepDelegate
public void toXML(javax.xml.stream.XMLStreamWriter writer, ChartUIElement element, java.lang.String tab) throws javax.xml.stream.XMLStreamException
StepDelegate
toXML
in interface StepDelegate
writer
- the XMLStreamWriter
to write to.element
- the ChartUIElement
to serialize.javax.xml.stream.XMLStreamException
public void fromXML(org.w3c.dom.Element domElement, ChartUIElement uiElement) throws XMLParseException
StepDelegate
ChartUIElement
. Just like for serializing, the id, location, and
name will have already been handled.fromXML
in interface StepDelegate
domElement
- the XML DOM element.uiElement
- the ChartUIElement
to deserialize.XMLParseException
public java.util.List<Property<?>> getCompilationAlteringProperties()
getCompilationAlteringProperties
in interface StepDelegate
public void validate(ChartUIElement element, ChartCompilationResults results)
StepDelegate
validate
in interface StepDelegate
element
- the ChartUIElement
to validate.results
- the ChartCompilationResults
.