org.gxml.sa
Interface GxSequenceHandler<A,S,T>

All Superinterfaces:
java.io.Closeable, java.io.Flushable, GxContentHandler<A,S,T>
All Known Subinterfaces:
GxSequenceFilter<A,S,T>

public interface GxSequenceHandler<A,S,T>
extends GxContentHandler<A,S,T>

Event handler for serializing an XQuery Data Model as a stream.


Method Summary
 void atom(A atom)
          Receive notification of an atomic value as an item in the sequence.
 void endSequence()
          Receive notification of the end of a sequence.
 void startSequence()
          Receive notification of the start of a sequence.
 
Methods inherited from interface org.gxml.sa.GxContentHandler
attribute, attribute, comment, endDocument, endElement, ignorableWhitespace, namespace, processingInstruction, startDocument, startElement, text, text
 
Methods inherited from interface java.io.Flushable
flush
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

atom

void atom(A atom)
          throws GxException
Receive notification of an atomic value as an item in the sequence.

The callee will call this method to report each atom in the sequence.

Parameters:
atom - The atomic value.
Throws:
GxException

endSequence

void endSequence()
                 throws GxException
Receive notification of the end of a sequence.

Throws:
GxException

startSequence

void startSequence()
                   throws GxException
Receive notification of the start of a sequence.

Throws:
GxException


Copyright © 2009 TIBCO Software Inc. All Rights Reserved.