Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Prism is a data representation mechanisms that allows to present data in several formats and the same time.

Live Data

Prism objects are more or less ordinary data structures in Java. They can be accessed using a native Prism interface (API), but the same data can also be accessed by variety of other interfaces (JAXB, DOM, ...). The unique feature of prism is that the data are not transformed to these formats but real live data are presented. For example if a bean property is set by invoking JAXB setter the change is immediately reflected to the underlying prism data model. The next call to DOM interface will return the new value of the property.


Prism Native Data Structures

Dynamic Schemas

Prism Interfaces

Native Prism API

JAXB Generated Beans


Parsing and Serialization

In addition to live data interfaces prism data can be parsed from and serialized to a variety of data formats.

Data Format




Yes (DOM, StAX planned soon)

Yes (DOM)






  • Items, values, definitions
  • Deltas
  • Dynamic schemas
  • parsing state (rawElements)
  • No labels