aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/util/ContentHandlerFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/util/ContentHandlerFactory.java')
-rw-r--r--src/java/org/apache/fop/util/ContentHandlerFactory.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/util/ContentHandlerFactory.java b/src/java/org/apache/fop/util/ContentHandlerFactory.java
index 30ab2374a..7eca0bf95 100644
--- a/src/java/org/apache/fop/util/ContentHandlerFactory.java
+++ b/src/java/org/apache/fop/util/ContentHandlerFactory.java
@@ -34,43 +34,43 @@ public interface ContentHandlerFactory {
* @return an array of supported namespaces.
*/
String[] getSupportedNamespaces();
-
+
/**
* @return a new ContentHandler to handle a SAX stream
* @throws SAXException if there's an error while preparing the ContentHandler
*/
ContentHandler createContentHandler() throws SAXException;
-
+
/**
* Interface that ContentHandler implementations that parse Java objects from XML can implement
* to return these objects.
*/
public interface ObjectSource {
-
+
/**
* @return the object parsed from the SAX stream (call valid after parsing)
*/
Object getObject();
-
+
/**
* Set a listener which gets notified when the object is fully built.
* @param listener the listener which gets notified
*/
void setObjectBuiltListener(ObjectBuiltListener listener);
}
-
+
/**
* EventListener interface for objects which want to get notified when ContentHandler
* implementing the ObjectSource interface has finished parsing.
*/
public interface ObjectBuiltListener extends EventListener {
-
+
/**
* Notifies the listener when the object is fully built.
* @param obj the newly built object
*/
void notifyObjectBuilt(Object obj);
-
+
}
-
+
}