All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class com.jclark.xml.sax.Driver
java.lang.Object
   |
   +----com.jclark.xml.parse.base.ApplicationImpl
           |
           +----com.jclark.xml.sax.Driver
  -  public class Driver
  -  extends ApplicationImpl
  -  implements Parser, EntityManager, AttributeList, Locator
An implementation of SAX 1.0 on top of the com.jclark.xml.parse package.
 Note that:
 - the Locatorwill provide information only forstartElementandprocessingInstructionevents;
- the line and column number returned by Locatorwill correspond to the first character of the document event
 not the character following the document event as specified by SAX;
- neither a Locatornor aSAXParseExceptionwill provide information about an entity's public identifier;
- the Locatorobject will be an instance ofcom.jclark.xml.sax.Locatorwhich extendsorg.xml.sax.Locator;
- the only kind of error that is reported is a fatal error.
 
    -  See Also:
    
-  Locator
   
  -   Driver() Driver()
-  
   
  -   characterData(CharacterDataEvent) characterData(CharacterDataEvent)
-  
  
-   endDocument() endDocument()
-  
  
-   endElement(EndElementEvent) endElement(EndElementEvent)
-  
  
-   endProlog(EndPrologEvent) endProlog(EndPrologEvent)
-  
  
-   getByteIndex() getByteIndex()
-  
  
-   getColumnNumber() getColumnNumber()
-  
  
-   getLength() getLength()
-  
  
-   getLineNumber() getLineNumber()
-  
  
-   getName(int) getName(int)
-  
  
-   getPublicId() getPublicId()
-  
  
-   getSystemId() getSystemId()
-  
  
-   getType(int) getType(int)
-  
  
-   getType(String) getType(String)
-  
  
-   getURL() getURL()
-  
  
-   getValue(int) getValue(int)
-  
  
-   getValue(String) getValue(String)
-  
  
-   open(String, URL, String) open(String, URL, String)
-  
  
-   parse(InputSource) parse(InputSource)
-  
  
-   parse(String) parse(String)
-  
  
-   processingInstruction(ProcessingInstructionEvent) processingInstruction(ProcessingInstructionEvent)
-  
  
-   setDocumentHandler(DocumentHandler) setDocumentHandler(DocumentHandler)
-  
  
-   setDTDHandler(DTDHandler) setDTDHandler(DTDHandler)
-  
  
-   setEntityResolver(EntityResolver) setEntityResolver(EntityResolver)
-  
  
-   setErrorHandler(ErrorHandler) setErrorHandler(ErrorHandler)
-  
  
-   setLocale(Locale) setLocale(Locale)
-  
  
-   startDocument() startDocument()
-  
  
-   startElement(StartElementEvent) startElement(StartElementEvent)
-  
   
 Driver
Driver
 public Driver()
   
 setEntityResolver
setEntityResolver
 public void setEntityResolver(EntityResolver resolver)
 setDocumentHandler
setDocumentHandler
 public void setDocumentHandler(DocumentHandler handler)
 setDTDHandler
setDTDHandler
 public void setDTDHandler(DTDHandler handler)
 setErrorHandler
setErrorHandler
 public void setErrorHandler(ErrorHandler handler)
 setLocale
setLocale
 public void setLocale(Locale locale)
 parse
parse
 public void parse(String systemId) throws SAXException, IOException
 parse
parse
 public void parse(InputSource in) throws SAXException, IOException
 startDocument
startDocument
 public void startDocument() throws SAXException
  - 
    -  Overrides:
    
-  startDocument in class ApplicationImpl
  
 
 startElement
startElement
 public void startElement(StartElementEvent event) throws SAXException
  - 
    -  Overrides:
    
-  startElement in class ApplicationImpl
  
 
 characterData
characterData
 public void characterData(CharacterDataEvent event)
  - 
    -  Overrides:
    
-  characterData in class ApplicationImpl
  
 
 endElement
endElement
 public void endElement(EndElementEvent event) throws SAXException
  - 
    -  Overrides:
    
-  endElement in class ApplicationImpl
  
 
 processingInstruction
processingInstruction
 public void processingInstruction(ProcessingInstructionEvent event) throws SAXException
  - 
    -  Overrides:
    
-  processingInstruction in class ApplicationImpl
  
 
 endProlog
endProlog
 public void endProlog(EndPrologEvent event) throws SAXException
  - 
    -  Overrides:
    
-  endProlog in class ApplicationImpl
  
 
 endDocument
endDocument
 public void endDocument() throws SAXException
  - 
    -  Overrides:
    
-  endDocument in class ApplicationImpl
  
 
 open
open
 public OpenEntity open(String systemId,
                        URL baseURL,
                        String publicId) throws IOException
 getLength
getLength
 public int getLength()
 getName
getName
 public String getName(int i)
 getValue
getValue
 public String getValue(int i)
 getValue
getValue
 public String getValue(String name)
 getType
getType
 public String getType(int i)
 getType
getType
 public String getType(String name)
 getSystemId
getSystemId
 public String getSystemId()
 getURL
getURL
 public URL getURL()
 getPublicId
getPublicId
 public String getPublicId()
 getLineNumber
getLineNumber
 public int getLineNumber()
 getColumnNumber
getColumnNumber
 public int getColumnNumber()
 getByteIndex
getByteIndex
 public long getByteIndex()
All Packages  Class Hierarchy  This Package  Previous  Next  Index