@Deprecated
public interface Generator
Generator interface defines the start of a rewriter pipeline.| Modifier and Type | Method and Description |
|---|---|
void |
finished()
Deprecated.
Notify the generator that parsing is finished.
|
java.io.PrintWriter |
getWriter()
Deprecated.
Get the writer to write the output to.
|
void |
init(ProcessingContext context,
ProcessingComponentConfiguration config)
Deprecated.
Initialize this component.
|
void |
setContentHandler(org.xml.sax.ContentHandler handler)
Deprecated.
Set the content handler the generator should stream to.
|
void init(ProcessingContext context, ProcessingComponentConfiguration config) throws java.io.IOException
context - The invocation context.config - The configuration for this component.java.io.IOException - IOExceptionvoid setContentHandler(org.xml.sax.ContentHandler handler)
handler - A transformer or serializer.java.io.PrintWriter getWriter()
void finished()
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException - IOExceptionorg.xml.sax.SAXException - SAXExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved