org.jboss.mq.xml
Interface XElementConsumer


public interface XElementConsumer

XMLRecordConsumer Interface defines the method signatures used to notify the consumer object of parsing errors, document starts, record reads, and document ends.


Method Summary
 void documentEndEvent()
          Signals that the END of the XML document has been reached.
 void documentStartEvent()
          Signals that the START of the XML document has been reached.
 void recordReadEvent(XElement (src)  o)
          Signals that a record object, an xml element, has been fully read in.
 

Method Detail

documentEndEvent

public void documentEndEvent()
                      throws java.lang.Exception
Signals that the END of the XML document has been reached.

Throws:
java.lang.Exception - Description of Exception

documentStartEvent

public void documentStartEvent()
                        throws java.lang.Exception
Signals that the START of the XML document has been reached.

Throws:
java.lang.Exception - Description of Exception

recordReadEvent

public void recordReadEvent(XElement (src)  o)
                     throws java.lang.Exception
Signals that a record object, an xml element, has been fully read in.

Parameters:
o - Description of Parameter
Throws:
java.lang.Exception - Description of Exception