@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.
|
PrintWriter |
getWriter()
Deprecated.
Get the writer to write the output to.
|
void |
init(ProcessingContext context,
ProcessingComponentConfiguration config)
Deprecated.
Initialize this component.
|
void |
setContentHandler(ContentHandler handler)
Deprecated.
Set the content handler the generator should stream to.
|
void init(ProcessingContext context, ProcessingComponentConfiguration config) throws IOException
context
- The invocation context.config
- The configuration for this component.IOException
void setContentHandler(ContentHandler handler)
handler
- A transformer or serializer.PrintWriter getWriter()
void finished() throws IOException, SAXException
IOException
SAXException
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"