Class VabraConfiguration
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- gov.nih.mipav.model.algorithms.registration.vabra.VabraConfiguration
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
public class VabraConfiguration extends org.xml.sax.helpers.DefaultHandler
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.ArrayList<java.lang.Integer>
downSampleResolutions
(package private) java.util.ArrayList<java.lang.Integer>
levels
(package private) java.util.ArrayList<java.lang.Integer>
resolutionSwitches
-
Constructor Summary
Constructors Constructor Description VabraConfiguration(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(java.lang.String uri, java.lang.String name, java.lang.String qName)
java.util.ArrayList<java.lang.Integer>
getDownSampleResolutions()
java.util.ArrayList<java.lang.Integer>
getLevels()
java.util.ArrayList<java.lang.Integer>
getResolutionSwitches()
void
readXML(java.io.File file)
void
setDownSampleResolutions(java.util.ArrayList<java.lang.Integer> downSampleResolutions)
void
setLevels(java.util.ArrayList<java.lang.Integer> levels)
void
setResolutionSwitches(java.util.ArrayList<java.lang.Integer> resolutionSwitches)
void
startElement(java.lang.String uri, java.lang.String name, java.lang.String qName, org.xml.sax.Attributes atts)
boolean
writeXML(java.io.File file)
-
-
-
Method Detail
-
writeXML
public boolean writeXML(java.io.File file)
-
readXML
public void readXML(java.io.File file)
-
startElement
public void startElement(java.lang.String uri, java.lang.String name, java.lang.String qName, org.xml.sax.Attributes atts)
- Specified by:
startElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
startElement
in classorg.xml.sax.helpers.DefaultHandler
-
endElement
public void endElement(java.lang.String uri, java.lang.String name, java.lang.String qName)
- Specified by:
endElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
endElement
in classorg.xml.sax.helpers.DefaultHandler
-
getDownSampleResolutions
public java.util.ArrayList<java.lang.Integer> getDownSampleResolutions()
-
setDownSampleResolutions
public void setDownSampleResolutions(java.util.ArrayList<java.lang.Integer> downSampleResolutions)
-
getLevels
public java.util.ArrayList<java.lang.Integer> getLevels()
-
setLevels
public void setLevels(java.util.ArrayList<java.lang.Integer> levels)
-
getResolutionSwitches
public java.util.ArrayList<java.lang.Integer> getResolutionSwitches()
-
setResolutionSwitches
public void setResolutionSwitches(java.util.ArrayList<java.lang.Integer> resolutionSwitches)
-
-