jas2.hist
Class XMLHistBuilder
- java.lang.Object
-
- jas2.hist.XMLHistBuilder
-
public class XMLHistBuilder extends java.lang.ObjectCreate a Plot from an XML file. Reads an XML file describing a Plot and creates or modifies a plot to correspond to the data specified in the XML file.
-
-
Constructor Summary
Constructors Constructor and Description XMLHistBuilder(org.w3c.dom.Document dom)Create an XMLHistBuilder from a pre-parsed Document Object ModelXMLHistBuilder(java.io.Reader xmlFile, java.lang.String fileName)Create an XMLHistBuilder by reading an XML file
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PlotPanelgetPlotPage()Get a plot page.JASHistgetSoloPlot()Create a plot using the parsed XML.JASHistmodifyPlot(JASHist theHist)Modify an existing plot using the parsed XML.
-
-
-
Constructor Detail
-
XMLHistBuilder
public XMLHistBuilder(java.io.Reader xmlFile, java.lang.String fileName) throws JASDOMParser.JASXMLException, XMLNodeTraverser.BadXMLExceptionCreate an XMLHistBuilder by reading an XML file- Parameters:
xmlFile- The xmlFile to read.fileName- The file name (for error messages)- Throws:
JASDOMParser.JASXMLExceptionXMLNodeTraverser.BadXMLException
-
XMLHistBuilder
public XMLHistBuilder(org.w3c.dom.Document dom) throws XMLNodeTraverser.BadXMLExceptionCreate an XMLHistBuilder from a pre-parsed Document Object Model- Throws:
XMLNodeTraverser.BadXMLException
-
-
Method Detail
-
getSoloPlot
public JASHist getSoloPlot() throws XMLNodeTraverser.BadXMLException
Create a plot using the parsed XML.- Throws:
XMLNodeTraverser.BadXMLException
-
modifyPlot
public JASHist modifyPlot(JASHist theHist) throws XMLNodeTraverser.BadXMLException
Modify an existing plot using the parsed XML.- Throws:
XMLNodeTraverser.BadXMLException
-
getPlotPage
public PlotPanel getPlotPage()
Get a plot page. Not implemented yet.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG