|
GXPARSE hosted by |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.gorman.xml.parse.toolkit.Coroutine_NoCallback<T>
ca.gorman.xml.parse.toolkit.CoroutineResolveEntity<T>
public final class CoroutineResolveEntity<T extends Parser>
Invokes
resolve entity handler from the parser thread to run in
the application thread.
| Constructor Summary | |
|---|---|
CoroutineResolveEntity()
Construct instance that cannot be used until initialized by setListener and
setParams. |
|
CoroutineResolveEntity(Listener<T> listener)
Construct instance that cannot be used until initialized by setParams. |
|
CoroutineResolveEntity(Listener<T> listener,
String name,
String publicId,
String baseURI,
String systemId)
Construct fully initialized instance, ready for immediate use. |
|
| Method Summary | |
|---|---|
Input |
getInput()
|
Listener<T> |
getListener()
Get the listener. |
void |
run()
Execute a callback from the parser thread to run the resolve entity handler in the application thread. |
void |
setListener(Listener<T> listener)
Set or reset the listener. |
void |
setParams(String name,
String publicId,
String baseURI,
String systemId)
Set or reset data to be sent to the resolve entity handler. |
| Methods inherited from class ca.gorman.xml.parse.toolkit.Coroutine_NoCallback |
|---|
getParser, setParser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoroutineResolveEntity()
Construct instance that cannot be used until initialized by
setListener and
setParams.
public CoroutineResolveEntity(Listener<T> listener)
Construct instance that cannot be used until initialized by
setParams.
NullPointerException - if listener is null
public CoroutineResolveEntity(Listener<T> listener,
String name,
String publicId,
String baseURI,
String systemId)
Construct fully initialized instance, ready for immediate use.
NullPointerException - if listener is null| Method Detail |
|---|
public void setListener(Listener<T> listener)
Set or reset the listener.
NullPointerException - if listener is nullpublic Listener<T> getListener()
Get the listener.
public void setParams(String name,
String publicId,
String baseURI,
String systemId)
Set or reset data to be sent to the
resolve entity handler.
public void run()
Execute a callback from the parser thread to run the
resolve entity handler in the application thread.
The parser is suspended until this method returns.
run in interface RunnableCoroutineTransferException - if the resolve entity handler throws
an exception.public Input getInput()
|
GXPARSE download | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||