def from format
      #Formats are enums in java, so they are all uppercase
      @citero = @citero::from(Formats::valueOf(format.upcase))
      self
    #rescue any exceptions, if the error is not caught in JAR, most likely a 
    #problem with the data
    rescue Exception => e
      raise TypeError, "Mismatched data for #{format}"
    end
def from format
      #Formats are enums in java, so they are all uppercase
      @citero = @citero::from(Formats::valueOf(format.upcase))
      self
    #rescue any exceptions, if the error is not caught in JAR, most likely a 
    #problem with the data
    rescue Exception => e
      raise TypeError, "Mismatched data for #{format}"
    end
The constructor, takes input data taken from the parent module
 and creates an instance of the Citero java object.
 Returns itself for builder patttern.
 The from method is private, it takes in a format and gets
 the appropriate Format java class and then calls
 the from method in the Citero java object and stores its
 return value in an instance variable.
 Returns itself.