Overview  Package   Class  Tree  Index 

be.lassi.pdf
Class HtmlToPdfTranslator

java.lang.Object
  extended by be.lassi.pdf.HtmlToPdfTranslator
All Implemented Interfaces:
net.n3.nanoxml.IXMLBuilder

public class HtmlToPdfTranslator
extends java.lang.Object
implements net.n3.nanoxml.IXMLBuilder


Constructor Summary
HtmlToPdfTranslator(com.lowagie.text.DocListener document, TableOfContents toc)
          Constructs a new instance.
 
Method Summary
 void addAttribute(java.lang.String key, java.lang.String nsPrefix, java.lang.String nsURI, java.lang.String value, java.lang.String type)
          
 void addPCData(java.io.Reader reader, java.lang.String systemId, int lineNr)
          
 void elementAttributesProcessed(java.lang.String name, java.lang.String nsPrefix, java.lang.String nsURI)
          
 void endDocument()
          
 void endElement(java.lang.String name, java.lang.String nsPrefix, java.lang.String nsURI)
          
 com.lowagie.text.HeaderFooter getHeader()
           
 java.lang.Object getResult()
          
 void newProcessingInstruction(java.lang.String target, java.io.Reader reader)
          
 void startBuilding(java.lang.String systemId, int lineNr)
          
 void startDocument()
          
 void startElement(java.lang.String name, java.lang.String nsPrefix, java.lang.String nsURI, java.lang.String systemId, int lineNr)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlToPdfTranslator

public HtmlToPdfTranslator(com.lowagie.text.DocListener document,
                           TableOfContents toc)
Constructs a new instance.

Parameters:
document - the pdf document to write to
toc - the table of contents
Method Detail

addAttribute

public void addAttribute(java.lang.String key,
                         java.lang.String nsPrefix,
                         java.lang.String nsURI,
                         java.lang.String value,
                         java.lang.String type)
                  throws java.lang.Exception

Specified by:
addAttribute in interface net.n3.nanoxml.IXMLBuilder
Throws:
java.lang.Exception

addPCData

public void addPCData(java.io.Reader reader,
                      java.lang.String systemId,
                      int lineNr)
               throws java.lang.Exception

Specified by:
addPCData in interface net.n3.nanoxml.IXMLBuilder
Throws:
java.lang.Exception

elementAttributesProcessed

public void elementAttributesProcessed(java.lang.String name,
                                       java.lang.String nsPrefix,
                                       java.lang.String nsURI)
                                throws java.lang.Exception

Specified by:
elementAttributesProcessed in interface net.n3.nanoxml.IXMLBuilder
Throws:
java.lang.Exception

endDocument

public void endDocument()


endElement

public void endElement(java.lang.String name,
                       java.lang.String nsPrefix,
                       java.lang.String nsURI)
                throws java.lang.Exception

Specified by:
endElement in interface net.n3.nanoxml.IXMLBuilder
Throws:
java.lang.Exception

getHeader

public com.lowagie.text.HeaderFooter getHeader()

getResult

public java.lang.Object getResult()
                           throws java.lang.Exception

Specified by:
getResult in interface net.n3.nanoxml.IXMLBuilder
Throws:
java.lang.Exception

newProcessingInstruction

public void newProcessingInstruction(java.lang.String target,
                                     java.io.Reader reader)
                              throws java.lang.Exception

Specified by:
newProcessingInstruction in interface net.n3.nanoxml.IXMLBuilder
Throws:
java.lang.Exception

startBuilding

public void startBuilding(java.lang.String systemId,
                          int lineNr)
                   throws java.lang.Exception

Specified by:
startBuilding in interface net.n3.nanoxml.IXMLBuilder
Throws:
java.lang.Exception

startDocument

public void startDocument()


startElement

public void startElement(java.lang.String name,
                         java.lang.String nsPrefix,
                         java.lang.String nsURI,
                         java.lang.String systemId,
                         int lineNr)
                  throws java.lang.Exception

Specified by:
startElement in interface net.n3.nanoxml.IXMLBuilder
Throws:
java.lang.Exception

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2