GXPARSE hosted by SourceForge.net Logo

ca.gorman.xml.parse
Interface CurrentDocument

All Superinterfaces:
Document
All Known Implementing Classes:
CoroutineDocument

public interface CurrentDocument
extends Document

Java Document instance representing the XML document that is being parsed.

A CurrentDocument has content that must be parsed exactly once by the parseContent method before the Document handler returns.


Method Summary
 void parseContent()
           Parse the content of a Document.
 

Method Detail

parseContent

void parseContent()
                  throws ListenerException,
                         IOException

Parse the content of a Document.

This method causes the parser to continue operation, and does not return until the end of the document is reached. No part of the Document has been parsed before this method is invoked.

Throws:
ReparsedContentException - when the method is invoked more than once from the same invocation of the document handler.
ListenerException
IOException

GXPARSE download

GXPARSE Generic XML Stream Parser API and supporting tools.   Release $Name: gxparse-sf-alpha-2_0 $
Copyright 2003-2004 Ian E. Gorman
Released under GNU Lesser General Public License