Class 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)  
      • Methods inherited from class org.xml.sax.helpers.DefaultHandler

        characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • levels

        java.util.ArrayList<java.lang.Integer> levels
      • resolutionSwitches

        java.util.ArrayList<java.lang.Integer> resolutionSwitches
      • downSampleResolutions

        java.util.ArrayList<java.lang.Integer> downSampleResolutions
    • Constructor Detail

      • VabraConfiguration

        public VabraConfiguration​(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 interface org.xml.sax.ContentHandler
        Overrides:
        startElement in class org.xml.sax.helpers.DefaultHandler
      • endElement

        public void endElement​(java.lang.String uri,
                               java.lang.String name,
                               java.lang.String qName)
        Specified by:
        endElement in interface org.xml.sax.ContentHandler
        Overrides:
        endElement in class org.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)