org.whattf.checker
Class UsemapChecker

java.lang.Object
  extended by org.whattf.checker.Checker
      extended by org.whattf.checker.UsemapChecker
All Implemented Interfaces:
ContentHandler

public class UsemapChecker
extends Checker


Field Summary
private  Locator locator
           
private  Set<String> mapIds
           
private  Map<String,Locator> usemapLocationsById
           
 
Constructor Summary
UsemapChecker()
           
 
Method Summary
 void endDocument()
          Calls reset().
 void setDocumentLocator(Locator locator)
           
 void startDocument()
          Calls reset().
 void startElement(String uri, String localName, String qName, Attributes atts)
           
 
Methods inherited from class org.whattf.checker.Checker
characters, endElement, endPrefixMapping, err, err, getDocumentLocator, getErrorHandler, ignorableWhitespace, processingInstruction, reset, setErrorHandler, skippedEntity, startPrefixMapping, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usemapLocationsById

private final Map<String,Locator> usemapLocationsById

mapIds

private final Set<String> mapIds

locator

private Locator locator
Constructor Detail

UsemapChecker

public UsemapChecker()
Method Detail

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class Checker
Throws:
SAXException
See Also:
Checker.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)

endDocument

public void endDocument()
                 throws SAXException
Description copied from class: Checker
Calls reset().

Specified by:
endDocument in interface ContentHandler
Overrides:
endDocument in class Checker
Throws:
SAXException
See Also:
XMLFilterImpl.endDocument()

startDocument

public void startDocument()
                   throws SAXException
Description copied from class: Checker
Calls reset().

Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class Checker
Throws:
SAXException
See Also:
XMLFilterImpl.startDocument()

setDocumentLocator

public void setDocumentLocator(Locator locator)
Specified by:
setDocumentLocator in interface ContentHandler
Overrides:
setDocumentLocator in class Checker
See Also:
XMLFilterImpl.setDocumentLocator(org.xml.sax.Locator)