Package jspecview.source
Class AnIMLReader
java.lang.Object
jspecview.source.AnIMLReader
- All Implemented Interfaces:
SourceReader
Representation of a XML Source.
- Author:
- Craig A.D. Walters, Prof. Robert J. Lancashire
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected boolean
protected double
protected SB
protected int
protected String
protected double
protected double
protected String
protected boolean
protected int
protected double
protected String
protected String
protected String
protected String
protected String
protected int
protected double
protected String
protected String
protected String
protected XMLParser
protected String
protected String
protected double
protected String
protected String
protected String
protected int
protected String
protected int
protected JDXSource
protected String
protected String
protected String
protected String
protected String
protected String
protected double[]
protected double
protected String
protected double[]
protected double
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected void
protected void
getSource
(String filePath, BufferedReader br) protected JDXSource
getXML
(BufferedReader br) protected void
protected void
process
(int tagId, boolean requiresEndTag) Process the audit XML eventsprotected void
processEndTag
(int tagId) protected void
processErrors
(String type) protected boolean
processTag
(int tagId) Process the XML events.protected void
processXML
(int i0, int i1)
-
Field Details
-
source
-
filePath
-
parser
-
tagName
-
attrList
-
title
-
owner
-
origin
-
tmpEnd
-
molForm
-
techname
-
npoints
protected int npoints -
samplenum
protected int samplenum -
yaxisData
protected double[] yaxisData -
xaxisData
protected double[] xaxisData -
xUnits
-
yUnits
-
vendor
-
modelType
-
LongDate
-
pathlength
-
identifier
-
plLabel
-
resolution
-
resLabel
-
LocName
-
LocContact
-
casName
-
sampleowner
-
obNucleus
-
StrObFreq
-
increasing
protected boolean increasing -
continuous
protected boolean continuous -
ivspoints
protected int ivspoints -
evspoints
protected int evspoints -
sampleRefNum
protected int sampleRefNum -
deltaX
protected double deltaX -
xFactor
protected double xFactor -
yFactor
protected double yFactor -
firstX
protected double firstX -
lastX
protected double lastX -
firstY
protected double firstY -
obFreq
protected double obFreq -
refPoint
protected double refPoint -
casRN
-
sampleID
-
errorLog
-
-
Constructor Details
-
AnIMLReader
public AnIMLReader()
-
-
Method Details
-
getXML
-
processTag
Process the XML events. Invoked for every start tag. Invoked by the superclass method XMLSource.process(tagId, requiresEndTag)- Parameters:
tagId
-- Returns:
- true to continue looking for encapsulated tags false to process once only (no encapsulated tags of interest)
- Throws:
Exception
-
processEndTag
- Throws:
Exception
-
getSource
- Specified by:
getSource
in interfaceSourceReader
-
getSimpleXmlReader
-
checkStart
- Throws:
Exception
-
populateVariables
protected void populateVariables() -
checkPointCount
protected boolean checkPointCount() -
processErrors
-
processXML
- Throws:
Exception
-
process
protected void process(int tagId, boolean requiresEndTag) Process the audit XML events- Parameters:
tagId
-requiresEndTag
-
-