GXPARSE hosted by SourceForge.net Logo

ca.gorman.xml.parse
Interface CurrentDtd

All Superinterfaces:
Dtd
All Known Implementing Classes:
CoroutineDtd

public interface CurrentDtd
extends Dtd

Java Dtd instance representing the DTD for the XML document that is being parsed.

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


Method Summary
 void parseContent()
           Parse the content of a Dtd.
 
Methods inherited from interface ca.gorman.xml.parse.Dtd
getDocTypeName, getPublicId, getSystemId
 

Method Detail

parseContent

void parseContent()
                  throws ListenerException,
                         IOException

Parse the content of a Dtd.

This method causes the parser to continue operation, and does not return until the end of the DTD is reached. No part of the Dtd has been parsed before this method is invoked. After this method returns, the DTD is available from <>, until the end of the document is reached.

Throws:
ReparsedContentException - when the method is invoked more than once from the same invocation of the DTD 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