4 # * Copyright 2010 Martin Quinson, Mehdi Fekari
5 # * All right reserved.
7 # * This program is free software; you can redistribute
8 # * it and/or modify it under the terms of the license
9 # *(GNU LGPL) which comes with this package.
10 require 'ProcessFactory'
12 class ApplicationHandler
23 @processFactory = ProcessFactory.new
25 puts "onStartDocument"
31 def onBeginProcess(hostName,function)
33 @processFactory.setProcessIdentity(hostName,function)
42 def onProperty(id,value)
44 @processFactory.setProperty(id,value)
55 @processFactory.registerProcessArg(arg)
66 @processFactory.createProcess()
76 # Euh...Actually Nothin' to Do !!