| |
|
| java.lang.Object com.sun.perseus.model.UpdateAdapter
All known Subclasses: com.sun.perseus.model.DirtyAreaManager,
UpdateAdapter | public class UpdateAdapter implements UpdateListener(Code) | | A simple UpdateListener implementation which can
check whether or not the document loading succeeded.
version: $Id: UpdateAdapter.java,v 1.5 2006/04/21 06:39:49 st125089 Exp $ |
loadComplete | protected boolean loadComplete(Code) | | Set to true if the load complete method is called
Set to false when loadStarting is called.
|
loadStarting | protected boolean loadStarting(Code) | | Set to true if the loadStarting method is called
|
loadingFailed | protected boolean loadingFailed(Code) | | Set to true if the loadingFailed method is called.
Set to false when loadStarting is called
|
loadingFailedException | protected Exception loadingFailedException(Code) | | The last recorded loadingFailed exception
|
getLoadingFailedException | public Exception getLoadingFailedException()(Code) | | the last loadingFailed exception |
hasLoadingFailed | public boolean hasLoadingFailed()(Code) | | true if the loading has failed. |
loadBegun | public void loadBegun(ModelNode node)(Code) | | Invoked when the input node has started loading
Parameters: node - the ModelNode for which loadinghas started. |
loadComplete | public void loadComplete(ModelNode node)(Code) | | Invoked when the node has finished loading.
Parameters: node - the node for which loadingis complete. |
loadStarting | public void loadStarting(DocumentNode documentNode, InputStream is)(Code) | | Invoked when the document starts loading
Parameters: documentNode - the DocumentNode for which loadingis starting Parameters: is - the InputStream from which SVG contentis loaded. |
loadSuccess | public boolean loadSuccess()(Code) | | true if a document loading started and then failed |
loadingFailed | public void loadingFailed(DocumentNode documentNode, Exception error)(Code) | | Invoked when a document error happened before finishing loading.
Parameters: documentNode - the DocumentNode for which loadinghas failed. Parameters: error - the exception which describes the reason why loadingfailed. |
modifiedNode | public void modifiedNode(ModelNode node)(Code) | | Invoked when a node was just modified
Parameters: node - the node which was modified |
modifyingNode | public void modifyingNode(ModelNode node)(Code) | | Invoked when a node is about to be modified
Parameters: node - the node which is about to be modified |
modifyingNodeRendering | public void modifyingNodeRendering(ModelNode node)(Code) | | Invoked when a node's rendering is about to be modified
Parameters: node - the node which is about to be modified |
nodeInserted | public void nodeInserted(ModelNode node)(Code) | | Invoked when a node has been inserted into the tree
Parameters: node - the newly inserted node |
textInserted | public void textInserted(ModelNode node)(Code) | | Invoked when a string has been appended, during a load
phase. This is only used when parsing a document and is
used in support of progressive download, like the other
loadXXX methods.
Parameters: node - the ModelNode on which text has beeninserted. |
|
|
|