Class XMLReaderAdapter

java.lang.Object
webwork.view.xslt.SAXAdapter.XMLReaderAdapter
All Implemented Interfaces:
Locator, XMLReader

public class XMLReaderAdapter extends Object implements Locator, XMLReader
XMLReaderAdapter converts a java bean to its xml representation. It does this by simulating a SAX XMLReader which an xslt processor can use as a SAXSource.

The actual work is done in XMLWalker as the interface XMLReader is stateful in respect to the input source. So this class is actually a facade to the stateless class @see XMLWalker

Author:
Philipp Meier