public interface StepDelegate
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 compilationResults)
Provides step implementations a chance to validate their settings.
|
java.lang.String getId()
void toXml(javax.xml.stream.XMLStreamWriter writer, ChartUIElement element, java.lang.String tab) throws javax.xml.stream.XMLStreamException
writer
- the XMLStreamWriter
to write to.element
- the ChartUIElement
to serialize.javax.xml.stream.XMLStreamException
void fromXml(org.w3c.dom.Element domElement, ChartUIElement uiElement) throws XmlParseException
ChartUIElement
. Just like for serializing, the id, location, and
name will have already been handled.domElement
- the XML DOM element.uiElement
- the ChartUIElement
to deserialize.XmlParseException
void validate(ChartUIElement element, ChartCompilationResults compilationResults)
element
- the ChartUIElement
to validate.compilationResults
- the ChartCompilationResults
.java.util.List<Property<?>> getCompilationAlteringProperties()