Package org.writersforge.catalan.transform

Catalan Data Transformation Package [Deprecated].

See:
          Description

Class Summary
BaseNodeProcessor A common base implementation for NodeProcessor.
GroupProcessor Composite NodeProcessor which can combine multiple processors into a single easily referenced one.
ProcessorRegistry Central registry for connecting XML transform elements up to NodeProcessor implementations.
Transformer Deprecated.  
 

Package org.writersforge.catalan.transform Description

Catalan Data Transformation Package [Deprecated]. This set of classes provides an architecture for transforming Java objects into other forms, including String to String, String to XML, XML to String, and eventually String or XML to JavaBean and back.

NOTE: Current support includes String to String and String to XML transforms. More transforms will be added later.

The Transformer class is the front-end interface to the transformation engine. The Transformer encapsulates the other Java classes in this package, driven by an XML specification document that maps directly into those support classes. A detailed description of the XML spec format is included in the API documentation for the Transformer class.

The Transformer can process the XML spec in two ways: all transforms in order, from top to bottom; and selected transforms in a user-defined order. The first way, which uses the method processAll(), runs a List of input nodes through every transform in the XML spec. The second method, which uses the method process(), references individual transforms within the XML spec by id (see getProcessorIds()). The first method is good for self-contained atomic transforms; the second method is good for gathering simple, common transforms into a single library for easier maintenance.