GXPARSE hosted by SourceForge.net Logo

ca.gorman.xml.parse.toolkit
Class Coroutine_NoCallback<T extends Parser>

java.lang.Object
  extended by ca.gorman.xml.parse.toolkit.Coroutine_NoCallback<T>
Direct Known Subclasses:
Coroutine_Callback, CoroutineAttributeDecl, CoroutineCharacters, CoroutineComment, CoroutineElementDecl, CoroutineEndPrefixMapping, CoroutineError, CoroutineExternalEntityDecl, CoroutineFatalError, CoroutineGetExternalSubset, CoroutineIgnorableWhitespace, CoroutineInternalEntityDecl, CoroutineNotationDecl, CoroutineProcessingInstruction, CoroutineResolveEntity, CoroutineSkippedEntity, CoroutineStartPrefixMapping, CoroutineUnparsedEntityDecl, CoroutineWarning

public abstract class Coroutine_NoCallback<T extends Parser>
extends Object

Base class for invoking Listener methods that do not call back to the Parser.


Constructor Summary
protected Coroutine_NoCallback()
           Construct uninitialized instance.
protected Coroutine_NoCallback(T parser)
           Construct fully initialized instance.
 
Method Summary
 T getParser()
           Get Parser instance.
 void setParser(T parser)
           Set or reset the Parser instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coroutine_NoCallback

protected Coroutine_NoCallback()

Construct uninitialized instance.


Coroutine_NoCallback

protected Coroutine_NoCallback(T parser)

Construct fully initialized instance.

Throws:
NullPointerException - if any parameter is null
Method Detail

setParser

public void setParser(T parser)

Set or reset the Parser instance.

Throws:
NullPointerException - if parameter is null

getParser

public T getParser()

Get Parser instance.

Throws:
NullPointerException - if parameter is null

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