fop 1.0

org.apache.fop.util
Interface ContentHandlerFactory.ObjectSource

All Known Implementing Classes:
AFPExtensionHandler, PSExtensionHandler
Enclosing interface:
ContentHandlerFactory

public static interface ContentHandlerFactory.ObjectSource

Interface that ContentHandler implementations that parse Java objects from XML can implement to return these objects.


Method Summary
 java.lang.Object getObject()
           
 void setObjectBuiltListener(ContentHandlerFactory.ObjectBuiltListener listener)
          Set a listener which gets notified when the object is fully built.
 

Method Detail

getObject

java.lang.Object getObject()
Returns:
the object parsed from the SAX stream (call valid after parsing)

setObjectBuiltListener

void setObjectBuiltListener(ContentHandlerFactory.ObjectBuiltListener listener)
Set a listener which gets notified when the object is fully built.

Parameters:
listener - the listener which gets notified

fop 1.0

Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.