net.sf.fikin.xml.sax
Interface SAXHandler

All Superinterfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.ErrorHandler, org.xml.sax.ext.LexicalHandler
All Known Subinterfaces:
SAXHandlerAndResolver
All Known Implementing Classes:
BufferHandler, BufferingPipe, CompletingBufferHandler, PipeHandler, SAXSerializer, TemplateEngine

public interface SAXHandler
extends org.xml.sax.ContentHandler, org.xml.sax.ErrorHandler, org.xml.sax.ext.LexicalHandler, org.xml.sax.DTDHandler

Defines all-SAX events handler interface

A convenient interface combining all SAX-hanlder interfaces into one

Adds complementing to character-based methods but based on String. This is usefull when operating SAX events outside XML parser interface. created on Oct 15, 2006

Since:
Version:
$Revision: 1.3 $
Author:
fiykov

Method Summary
 void characters(java.lang.String str)
          same as characters(char ch[], int start, int length) but using string
 void comment(java.lang.String str)
          same as comment(char ch[], int start, int length) but using string
 void ignorableWhitespace(java.lang.String str)
          same as ignorableWhitespace(char ch[], int start, int length) but using string
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ErrorHandler
error, fatalError, warning
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 
Methods inherited from interface org.xml.sax.DTDHandler
notationDecl, unparsedEntityDecl
 

Method Detail

characters

void characters(java.lang.String str)
                throws org.xml.sax.SAXException
same as characters(char ch[], int start, int length) but using string

Parameters:
str -
Throws:
org.xml.sax.SAXException

comment

void comment(java.lang.String str)
             throws org.xml.sax.SAXException
same as comment(char ch[], int start, int length) but using string

Parameters:
str -
Throws:
org.xml.sax.SAXException

ignorableWhitespace

void ignorableWhitespace(java.lang.String str)
                         throws org.xml.sax.SAXException
same as ignorableWhitespace(char ch[], int start, int length) but using string

Parameters:
str -
Throws:
org.xml.sax.SAXException


Copyright © 2003-2007 Nikolay Fiykov. All Rights Reserved.