public class XFAWorker
extends com.itextpdf.tool.xml.XMLWorker
Modifier and Type | Class and Description |
---|---|
static class |
XFAWorker.RichTextParseResult |
Modifier and Type | Field and Description |
---|---|
protected com.itextpdf.tool.xml.Tag |
currentFragmentTag |
protected com.itextpdf.tool.xml.Tag |
parentTag |
protected com.itextpdf.tool.xml.Tag |
rootParsedTag |
protected SomExpression |
somExpession |
Constructor and Description |
---|
XFAWorker(com.itextpdf.tool.xml.Pipeline> pipeline) |
XFAWorker(com.itextpdf.tool.xml.Pipeline> pipeline, com.itextpdf.tool.xml.Tag parentTag, SomExpression somExpression) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static void |
closeWorkerContext() |
protected XFATemplateTag |
createTag(String tag, Map<String,String> attr, String ns) |
void |
endElement(String tag, String ns) |
static com.itextpdf.tool.xml.WorkerContext |
getWorkerContext() |
protected boolean |
ignoreCdata() |
void |
init() |
static XFAWorker.RichTextParseResult |
parseRichTextPart(InputStream richTextStream, com.itextpdf.text.FontProvider fontProvider, Charset charset) |
static com.itextpdf.tool.xml.Tag |
parseTemplatePart(InputStream templateStream, Charset charset) |
void |
startElement(String tag, Map<String,String> attr, String ns) |
protected SomExpression somExpession
protected com.itextpdf.tool.xml.Tag parentTag
protected com.itextpdf.tool.xml.Tag currentFragmentTag
protected com.itextpdf.tool.xml.Tag rootParsedTag
public XFAWorker(com.itextpdf.tool.xml.Pipeline> pipeline)
public XFAWorker(com.itextpdf.tool.xml.Pipeline> pipeline, com.itextpdf.tool.xml.Tag parentTag, SomExpression somExpression)
public void init()
init
in interface com.itextpdf.tool.xml.parser.XMLParserListener
init
in class com.itextpdf.tool.xml.XMLWorker
protected XFATemplateTag createTag(String tag, Map<String,String> attr, String ns)
createTag
in class com.itextpdf.tool.xml.XMLWorker
public void close()
close
in interface com.itextpdf.tool.xml.parser.XMLParserListener
close
in class com.itextpdf.tool.xml.XMLWorker
public static com.itextpdf.tool.xml.WorkerContext getWorkerContext()
public static void closeWorkerContext()
public static com.itextpdf.tool.xml.Tag parseTemplatePart(InputStream templateStream, Charset charset) throws IOException, com.itextpdf.tool.xml.NoCustomContextException
IOException
com.itextpdf.tool.xml.NoCustomContextException
public static XFAWorker.RichTextParseResult parseRichTextPart(InputStream richTextStream, com.itextpdf.text.FontProvider fontProvider, Charset charset) throws IOException, com.itextpdf.tool.xml.NoCustomContextException, com.itextpdf.tool.xml.PipelineException
IOException
com.itextpdf.tool.xml.NoCustomContextException
com.itextpdf.tool.xml.PipelineException
public void startElement(String tag, Map<String,String> attr, String ns)
startElement
in interface com.itextpdf.tool.xml.parser.XMLParserListener
startElement
in class com.itextpdf.tool.xml.XMLWorker
public void endElement(String tag, String ns)
endElement
in interface com.itextpdf.tool.xml.parser.XMLParserListener
endElement
in class com.itextpdf.tool.xml.XMLWorker
protected boolean ignoreCdata()
ignoreCdata
in class com.itextpdf.tool.xml.XMLWorker
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.