Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » html » [javadoc | source]
com.lowagie.text.html
public class: SAXmyHtmlHandler [javadoc | source]
java.lang.Object
   org.xml.sax.helpers.DefaultHandler
      com.lowagie.text.xml.SAXiTextHandler
         com.lowagie.text.html.SAXmyHtmlHandler

All Implemented Interfaces:
    ErrorHandler, EntityResolver, ContentHandler, DTDHandler

The Tags-class maps several XHTML-tags to iText-objects.
Fields inherited from com.lowagie.text.xml.SAXiTextHandler:
document,  stack,  chapters,  currentChunk,  ignore,  controlOpenClose,  topMargin,  rightMargin,  leftMargin,  bottomMargin,  myTags
Constructor:
 public SAXmyHtmlHandler(DocListener document) 
    Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the Document-object.
    Parameters:
    document - this is the document on which events must be triggered
 public SAXmyHtmlHandler(DocListener document,
    BaseFont bf) 
    Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the Document-object.
    Parameters:
    document - this is the document on which events must be triggered
    bf -
 public SAXmyHtmlHandler(DocListener document,
    HashMap htmlTags) 
    Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the Document-object.
    Parameters:
    document - this is the document on which events must be triggered
    htmlTags - a tagmap translating HTML tags to iText tags
Method from com.lowagie.text.html.SAXmyHtmlHandler Summary:
endElement,   startElement
Methods from com.lowagie.text.xml.SAXiTextHandler:
addImage,   characters,   endElement,   handleEndingTags,   handleStartingTags,   ignorableWhitespace,   isDocumentRoot,   setBaseFont,   setControlOpenClose,   startElement
Methods from org.xml.sax.helpers.DefaultHandler:
characters,   endDocument,   endElement,   endPrefixMapping,   error,   fatalError,   ignorableWhitespace,   notationDecl,   processingInstruction,   resolveEntity,   setDocumentLocator,   skippedEntity,   startDocument,   startElement,   startPrefixMapping,   unparsedEntityDecl,   warning
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.html.SAXmyHtmlHandler Detail:
 public  void endElement(String uri,
    String lname,
    String name) 
    This method gets called when an end tag is encountered.
 public  void startElement(String uri,
    String lname,
    String name,
    Attributes attrs) 
    This method gets called when a start tag is encountered.