GXPARSE hosted by SourceForge.net Logo

ca.gorman.xml.parse
Interface CurrentEntity

All Superinterfaces:
Entity
All Known Implementing Classes:
CoroutineEntity

public interface CurrentEntity
extends Entity

Java Entity representing the entity that is being parsed.

An Entity on the top of stack has content that must be parsed exactly once by the parseContent method before the EntityListener.doEntity method returns.


Method Summary
 void parseContent()
           Parse the content of an entity (required even if there is no content).
 
Methods inherited from interface ca.gorman.xml.parse.Entity
equals, getName, hashCode
 

Method Detail

parseContent

void parseContent()
                  throws ListenerException,
                         IOException

Parse the content of an entity (required even if there is no content).

This method causes the parser to continue operation, and does not return until the end of the entity is reached.

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