webwork.view.xslt.SAXAdapter
Class XMLWalker

java.lang.Object
  extended bywebwork.view.xslt.SAXAdapter.XMLWalker

public class XMLWalker
extends java.lang.Object

This class is used by XMLReaderAdapter to do the actual walking of the object tree. Because the XMLReader Interface is stateful in respect of the systemId (here the walked bean) this class implements the stateless part.


Constructor Summary
XMLWalker()
           
 
Method Summary
 Walker getToStringWalker()
          Expose toStringWalker to public for BeanWalker can use it as a fall back when to properties are found.
 void registerWalker(Walker walker)
          Registers locally the class the walker returns as it's walkable type.
 void walk(org.xml.sax.ContentHandler contentHandler, java.lang.Object object, java.lang.String name, java.util.List walkedInstances)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLWalker

public XMLWalker()
Method Detail

walk

public void walk(org.xml.sax.ContentHandler contentHandler,
                 java.lang.Object object,
                 java.lang.String name,
                 java.util.List walkedInstances)
          throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

registerWalker

public void registerWalker(Walker walker)
Registers locally the class the walker returns as it's walkable type.


getToStringWalker

public Walker getToStringWalker()
Expose toStringWalker to public for BeanWalker can use it as a fall back when to properties are found.



Copyright © 2001-2003 WebWork All Rights Reserved.