com.jalios.io
Class SignatureReader

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by com.jalios.io.SignatureReader
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class SignatureReader
extends DefaultHandler

This class parses a signature file and populates a map(file, signature)

Version:
$Revision: 27751 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Constructor Summary
SignatureReader(File file, Map map)
           
 
Method Summary
 void endDocument()
           
 void endElement(String name)
           
 void setDocumentLocator(Locator locator)
           
 void startDocument()
           
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

SignatureReader

public SignatureReader(File file,
                       Map map)
                throws Exception
Throws:
Exception
Method Detail

setDocumentLocator

public void setDocumentLocator(Locator locator)
Specified by:
setDocumentLocator in interface ContentHandler
Overrides:
setDocumentLocator in class DefaultHandler

startDocument

public void startDocument()
                   throws SAXException
Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class DefaultHandler
Throws:
SAXException

endDocument

public void endDocument()
                 throws SAXException
Specified by:
endDocument in interface ContentHandler
Overrides:
endDocument in class DefaultHandler
Throws:
SAXException

endElement

public void endElement(String name)
                throws SAXException
Throws:
SAXException

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler


Copyright © 2001-2010 Jalios SA. All Rights Reserved.