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

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 SAXmyHandler(DocListener document,
    HashMap myTags) 
    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
    myTags - a user defined tagmap
Method from com.lowagie.text.xml.SAXmyHandler 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:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.xml.SAXmyHandler 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.