SASAX API - 1.5

jp.ne.dti.lares.foozy.sasax
Interface Notification


public interface Notification

Interface to receive notification of start/end element events.

Since:
SASAX 1.1
Author:
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>(code/doc)

Method Summary
 void elementEnded(Element element, ParseContext context)
          Invoked when target element is "ended".
 void elementStarted(Element element, ParseContext context, org.xml.sax.Attributes attributes)
          Invoked when target element is "started".
 

Method Detail

elementStarted

public void elementStarted(Element element,
                           ParseContext context,
                           org.xml.sax.Attributes attributes)
                    throws org.xml.sax.SAXException
Invoked when target element is "started".
Parameters:
element - which is started
context - of SAX document parsing.
attributes - given by "startElement" SAX event.

elementEnded

public void elementEnded(Element element,
                         ParseContext context)
                  throws org.xml.sax.SAXException
Invoked when target element is "ended".

End of target element also means that it is determined.

Parameters:
element - which is ended
context - of SAX document parsing.

SASAX API - 1.5