ContactCenters
V. 0.9.9.

Package umontreal.iro.lecuyer.xmlbind

Extends the JAXB framework with new classes to simplify the process of marshalling and unmarshalling objects with validation using XML Schema.

See:
          Description

Interface Summary
ArrayConverter.RowFactory<T> Represents a factory object for creating rows when marshalling a 2D array to JAXB object.
SourceArray2D Represents a 2D array obtained from a data source such a text file, or a spreadsheet.
 

Class Summary
ArrayConverter Provides helper methods to convert 2D arrays read by JAXB to the Java's more natural representation of 2D arrays, namely arrays of arrays.
CSVSourceArray2D Represents a source array whose contents is read from a CSV-formatted text file.
DBSourceArray2D Represents a source array whose data is extracted from a database using JDBC.
ExcelSourceArray2D Represents a source array whose contents is read from a Microsoft Excel workbook.
JAXBParamsConverter<T> Convenience base class to marshal and unmarshal objects of a specific class using JAXB.
NamedInfo Represents the information about an entity with a name and possibly properties.
ParamReadHelper Defines methods that can be used to construct Java objects from some parameter objects whose classes are derived by the JAXB binding compiler.
RemappingContentHandler SAX content handler remapping namespace prefixes.
SourceSubset2D Represents a source subset obtained from a source array.
 

Exception Summary
DistributionCreationException This exception is thrown when a problem occurs during the construction of a distribution object by ParamReadHelper.createBasicDistribution(RandomVariateGenParams) or RandomVariateGenParams).
GeneratorCreationException This exception is thrown when a problem occurs during the construction of a random variate generator by ParamReadHelper.createGenerator(RandomVariateGenParams,RandomStream).
 

Package umontreal.iro.lecuyer.xmlbind Description

Extends the JAXB framework with new classes to simplify the process of marshalling and unmarshalling objects with validation using XML Schema. The JAXB framework, implemented in package javax.xml.bind , can be used to map elements of an XML document to Java objects. The binding compiler xjc is used to derive Java classes from a XML Schema, and the JAXB runtime to unmarshal XML contents into Java objects, or marshal objects back to XML.

JAXB-derived classes do not contain any behavior; these are simple data classes. As a result, work is often required to transform objects from these derived classes into other more useful objects. For example, an helper method is necessary to turn objects containing parameters for a random variate generator into a true generator with an associated implementation generating numbers. This package defines classes containing such helper methods. The class ParamReadHelper provides methods for maps of properties, random variate generators, and database connections. The class ArrayConverter provides helper methods for 2D arrays of various common types. It also defines an abstract converter class, JAXBParamsConverter, which encapsulates a JAXB context and mechanisms to read and write XML files with validation using a Schema. See the documentation of package javax.xml.bind , in the Java API specification, for more information about JAXB.


ContactCenters
V. 0.9.9.

To submit a bug or ask questions, send an e-mail to Richard Simard.