org.xerial.util.xml.pullparser
Class AbstractSAXEventHandler

java.lang.Object
  extended by org.xerial.util.xml.pullparser.AbstractSAXEventHandler
All Implemented Interfaces:
SAXEventHandler
Direct Known Subclasses:
DataGuide, IntervalIndexer, PrePostOrderIndexer

public class AbstractSAXEventHandler
extends Object
implements SAXEventHandler

SAXEventHandlerを実装するためのhelperクラス。デフォルトで何もしない動作を定義

Author:
leo

Constructor Summary
AbstractSAXEventHandler()
           
 
Method Summary
 void endDocument(org.xmlpull.v1.XmlPullParser parser)
           
 void endTag(org.xmlpull.v1.XmlPullParser parser)
           
 void startDocument(org.xmlpull.v1.XmlPullParser parser)
           
 void startTag(org.xmlpull.v1.XmlPullParser parser)
           
 void text(org.xmlpull.v1.XmlPullParser parser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSAXEventHandler

public AbstractSAXEventHandler()
Method Detail

startTag

public void startTag(org.xmlpull.v1.XmlPullParser parser)
              throws XMLException
Specified by:
startTag in interface SAXEventHandler
Throws:
XMLException

endTag

public void endTag(org.xmlpull.v1.XmlPullParser parser)
            throws XMLException
Specified by:
endTag in interface SAXEventHandler
Throws:
XMLException

text

public void text(org.xmlpull.v1.XmlPullParser parser)
          throws XMLException
Specified by:
text in interface SAXEventHandler
Throws:
XMLException

startDocument

public void startDocument(org.xmlpull.v1.XmlPullParser parser)
                   throws XMLException
Specified by:
startDocument in interface SAXEventHandler
Throws:
XMLException

endDocument

public void endDocument(org.xmlpull.v1.XmlPullParser parser)
                 throws XMLException
Specified by:
endDocument in interface SAXEventHandler
Throws:
XMLException


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.