| java.lang.Object org.griphyn.vdl.dbschema.MyCallbackHandler
MyCallbackHandler | class MyCallbackHandler implements FinalizerHandler(Code) | | This class adds a given Definition from the parser's callback into
the fresh in-memory storage. It is a streamlined version of the more
versatile
MemoryStorage handler. End-users should not use
this class.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ |
Constructor Summary | |
public | MyCallbackHandler() The c'tor initializes the references to a single Definition. |
Method Summary | |
public Definition | getDefinition() Returns the value stored by the XML reader's callback function. | public boolean | store(VDL d) This method adds the given Definition to whatever storage is
implemented underneath.
Parameters: d - is the Definition that is ready to be stored. |
MyCallbackHandler | public MyCallbackHandler()(Code) | | The c'tor initializes the references to a single Definition.
|
getDefinition | public Definition getDefinition()(Code) | | Returns the value stored by the XML reader's callback function.
a single Definition that was read, or null . |
store | public boolean store(VDL d)(Code) | | This method adds the given Definition to whatever storage is
implemented underneath.
Parameters: d - is the Definition that is ready to be stored. true, if new version was stored and database modified |
|
|