| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INCLUDE_TAGS_PROPERTY
Deprecated.
|
| Constructor and Description |
|---|
HtmlParser()
Deprecated.
Default constructor.
|
HtmlParser(java.lang.String[] includedTags)
Deprecated.
|
HtmlParser(java.lang.String[] includedTags,
boolean preserveCamelCase)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
void |
finished()
Deprecated.
Finish the parsing process.
|
void |
flush()
Deprecated.
|
java.util.Set<java.lang.String> |
getTagInclusionSet()
Deprecated.
|
java.io.PrintWriter |
getWriter()
Deprecated.
Get the writer to write the output to.
|
void |
init(ProcessingContext pipelineContext,
ProcessingComponentConfiguration config)
Deprecated.
Initialize this component.
|
boolean |
isEmpty()
Deprecated.
Return a flag indicating whether the parser has still some undigested
characters left.
|
void |
setContentHandler(org.xml.sax.ContentHandler handler)
Deprecated.
Set the content handler the generator should stream to.
|
void |
setDocumentHandler(DocumentHandler documentHandler)
Deprecated.
Set document handler.
|
void |
setTagInclusionSet(java.util.Set<java.lang.String> tagInclusionSet)
Deprecated.
|
void |
update(char[] buf,
int off,
int len)
Deprecated.
Feed characters to the parser.
|
void |
write(char[] cbuf,
int off,
int len)
Deprecated.
|
void |
write(int b)
Deprecated.
|
public static final java.lang.String INCLUDE_TAGS_PROPERTY
public HtmlParser()
public HtmlParser(java.lang.String[] includedTags)
public HtmlParser(java.lang.String[] includedTags,
boolean preserveCamelCase)
public void init(ProcessingContext pipelineContext, ProcessingComponentConfiguration config)
Generatorinit in interface GeneratorpipelineContext - The invocation context.config - The configuration for this component.Generator.init(com.day.cq.rewriter.processor.ProcessingContext,
com.day.cq.rewriter.processor.ProcessingComponentConfiguration)public java.io.PrintWriter getWriter()
GeneratorgetWriter in interface GeneratorGenerator.getWriter()public java.util.Set<java.lang.String> getTagInclusionSet()
public void setTagInclusionSet(java.util.Set<java.lang.String> tagInclusionSet)
public void setContentHandler(org.xml.sax.ContentHandler handler)
GeneratorsetContentHandler in interface Generatorhandler - A transformer or serializer.Generator.setContentHandler(org.xml.sax.ContentHandler)public void setDocumentHandler(DocumentHandler documentHandler)
documentHandler - document handlerpublic void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOExceptionpublic void update(char[] buf,
int off,
int len)
throws java.io.IOException
buf - character bufferoff - offset where characters startlen - length of affected bufferjava.io.IOException - IOExceptionpublic boolean isEmpty()
true if the parser still contains characters
false otherwisepublic void finished()
throws java.io.IOException
Copyright © 2010 - 2023 Adobe. All Rights Reserved