|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.tool.xml.svg.XMLHelperForSVG
public class XMLHelperForSVG
Method Summary | |
---|---|
CssFile |
getDefaultCSS()
|
CSSResolver |
getDefaultCssResolver(boolean addDefaultCss)
Get a CSSResolver implementation. |
protected TagProcessorFactory |
getDefaultTagProcessorFactory()
Retrieves the default factory for processing HTML tags from Tags.getHtmlTagProcessorFactory() . |
static XMLHelperForSVG |
getInstance()
Get a Singleton XMLWorkerHelper |
PdfTemplate |
parseToTemplate(PdfContentByte cb,
Reader in)
Parses the xml data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XMLHelperForSVG getInstance()
public CssFile getDefaultCSS()
public PdfTemplate parseToTemplate(PdfContentByte cb, Reader in) throws IOException
writer
- the PdfWriterdoc
- the Documentin
- the reader
IOException
- thrown when something went wrong with the IOpublic CSSResolver getDefaultCssResolver(boolean addDefaultCss)
addDefaultCss
- true if the defaultCss should already be added.
protected TagProcessorFactory getDefaultTagProcessorFactory()
Tags.getHtmlTagProcessorFactory()
. On subsequent calls the same
TagProcessorFactory
is returned every time.
DefaultTagProcessorFactory that maps HTML tags to TagProcessor
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |