public class HistogramMLParser extends PlotMLParser
| Red (cxh) |
| Red (eal) |
_connected, _currentDataset, _currentPointCount_attributes, _currentCharData, _parser, _plot, PlotML_DTD_1| Constructor and Description |
|---|
HistogramMLParser(Histogram plot)
Construct an parser to parse commands for the specified plot object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_addPoint(boolean connected,
java.lang.String element)
Add a point based on the current attributes.
|
void |
endElement(java.lang.String elementName)
End an element.
|
void |
startElement(java.lang.String elementName)
Start an element.
|
startDocument_checkForNull, _currentExternalEntity, attribute, charData, endDocument, error, parse, parse, parse, resolveEntity, startExternalEntitydoctypeDecl, endExternalEntity, ignorableWhitespace, processingInstructionpublic HistogramMLParser(Histogram plot)
plot - The plot object to which to apply the commands.public void endElement(java.lang.String elementName)
throws java.lang.Exception
endElement in interface XmlHandlerendElement in class PlotMLParserelementName - The element type name.java.lang.Exception - If thrown by the base class.XmlHandler.endElement(java.lang.String)public void startElement(java.lang.String elementName)
throws XmlException
startElement in interface XmlHandlerstartElement in class PlotMLParserelementName - The element type name.XmlException - If the element produces an error
in constructing the model.XmlHandler.startElement(java.lang.String)protected void _addPoint(boolean connected,
java.lang.String element)
throws java.lang.Exception
_addPoint in class PlotMLParserconnected - Ignored.element - The name of the element.java.lang.Exception - if thrown whil parsing the y attribute.