org.outerj.daisy.frontend
Class UserInfoStreamer

java.lang.Object
  extended by org.outerj.daisy.frontend.UserInfoStreamer

public class UserInfoStreamer
extends java.lang.Object

Utility class to stream information about the current repository user as SAX events. At the time of this writing, this was both used in the class PageContext, and in the document.xml template (which is the start of the document type specific styling pipelines).


Constructor Summary
UserInfoStreamer(org.outerj.daisy.repository.Repository repository)
           
 
Method Summary
static void streamUserInfo(org.outerj.daisy.repository.Repository repository, org.xml.sax.ContentHandler contentHandler)
           
 void toSAX(org.xml.sax.ContentHandler contentHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInfoStreamer

public UserInfoStreamer(org.outerj.daisy.repository.Repository repository)
Method Detail

toSAX

public void toSAX(org.xml.sax.ContentHandler contentHandler)
           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

streamUserInfo

public static void streamUserInfo(org.outerj.daisy.repository.Repository repository,
                                  org.xml.sax.ContentHandler contentHandler)
                           throws org.xml.sax.SAXException,
                                  org.outerj.daisy.repository.RepositoryException
Throws:
org.xml.sax.SAXException
org.outerj.daisy.repository.RepositoryException


Copyright © -2006 . All Rights Reserved.