Class XMLWriter.DistributionWriter

java.lang.Object
common.xml.XMLWriter.DistributionWriter
Enclosing class:
XMLWriter

protected static class XMLWriter.DistributionWriter extends Object
This class provides a simple method to obtain XMLparameter representation of a distribution object. Creation of a distribution parameter is a bit awkward, so I'll explain it as best as I can as it follows. generally a distribution is associated to a service time strategy, either it is an interarrival distribution for open classes job generation, or a proper service time distribution for a certain station. As a result, distribution parameter is inserted in a ServiceTimeStrategy parameter which is the one userclass is associated to. Inside this parameter node should be inserted 2 subParameter nodes:
-One for distribution description(containing distribution classpath and name)
- One containing all of the distribution constructor parameters.
The first one has null value, the second contains a list of parameters which, as they are different from each other, they are not considered as array. Then, the node which contains them has no value for array attribute.
Author:
Bertoli Marco Date: 15-lug-2005 Time: 10.56.01
  • Constructor Details

    • DistributionWriter

      protected DistributionWriter()