@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
- IOException
void 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
- IOException
org.xml.sax.SAXException
- SAXException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"