Class TagMap.AttributeHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.lowagie.text.xml.TagMap.AttributeHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Enclosing class:
TagMap

class TagMap.AttributeHandler extends DefaultHandler
  • Field Details

  • Constructor Details

  • Method Details

    • startElement

      public void startElement(String uri, String lname, String tag, Attributes attrs)
      This method gets called when a start tag is encountered.
      Specified by:
      startElement in interface ContentHandler
      Overrides:
      startElement in class DefaultHandler
      Parameters:
      uri - the Uniform Resource Identifier
      lname - the local name (without prefix), or the empty string if Namespace processing is not being performed.
      tag - the name of the tag that is encountered
      attrs - the list of attributes
    • ignorableWhitespace

      public void ignorableWhitespace(char[] ch, int start, int length)
      This method gets called when ignorable white space encountered.
      Specified by:
      ignorableWhitespace in interface ContentHandler
      Overrides:
      ignorableWhitespace in class DefaultHandler
      Parameters:
      ch - an array of characters
      start - the start position in the array
      length - the number of characters to read from the array
    • characters

      public void characters(char[] ch, int start, int length)
      This method gets called when characters are encountered.
      Specified by:
      characters in interface ContentHandler
      Overrides:
      characters in class DefaultHandler
      Parameters:
      ch - an array of characters
      start - the start position in the array
      length - the number of characters to read from the array
    • endElement

      public void endElement(String uri, String lname, String tag)
      This method gets called when an end tag is encountered.
      Specified by:
      endElement in interface ContentHandler
      Overrides:
      endElement in class DefaultHandler
      Parameters:
      uri - the Uniform Resource Identifier
      lname - the local name (without prefix), or the empty string if Namespace processing is not being performed.
      tag - the name of the tag that ends