|
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.CoroutineAttributeDecl<T>
public final class CoroutineAttributeDecl<T extends Parser>
Invokes
attribute declaration handler from the parser thread to run
in the application thread.
| Constructor Summary | |
|---|---|
CoroutineAttributeDecl()
Construct instance that cannot be used until initialized by setListener and
setParams. |
|
CoroutineAttributeDecl(DtdListener<T> listener)
Construct instance that cannot be used until initialized by setParams. |
|
CoroutineAttributeDecl(DtdListener<T> listener,
String eName,
String aName,
String type,
String valueDefault,
String value)
Construct fully initialized instance, ready for immediate use. |
|
| Method Summary | |
|---|---|
DtdListener<T> |
getListener()
Get the listener. |
void |
run()
Execute a callback from the parser thread to run the element declaration handler in the application thread. |
void |
setListener(DtdListener<T> listener)
Set or reset the listener. |
void |
setParams(String eName,
String aName,
String type,
String valueDefault,
String value)
Set or reset data to be sent to the element declaration 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 CoroutineAttributeDecl()
Construct instance that cannot be used until initialized by
setListener and
setParams.
public CoroutineAttributeDecl(DtdListener<T> listener)
Construct instance that cannot be used until initialized by
setParams.
NullPointerException - if listener is null
public CoroutineAttributeDecl(DtdListener<T> listener,
String eName,
String aName,
String type,
String valueDefault,
String value)
Construct fully initialized instance, ready for immediate use.
NullPointerException - if listener is null| Method Detail |
|---|
public void setListener(DtdListener<T> listener)
Set or reset the listener.
NullPointerException - if listener is nullpublic DtdListener<T> getListener()
Get the listener.
public void setParams(String eName,
String aName,
String type,
String valueDefault,
String value)
Set or reset data to be sent to the
element declaration handler.
public void run()
Execute a callback from the parser thread to run the
element declaration handler in the application thread.
The parser is suspended until this method returns.
run in interface RunnableCoroutineTransferException - if the element declaration handler
throws an exception.
|
GXPARSE download | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||