Microsoft SDK for Java

XMLDSO Class Methods

The XMLDSO Class contains the following methods:

addDataSourceListener adds a DataSourceListener object to the XMLDSO object.
asyncLoad loads a document asynchronously.
clear replaces the currently loaded document with a new, empty document.
getDocument retrieves the loaded document.
getError retrieves a string containing the last error encountered by the XMLDSO object.
getSchema returns the schema as a string.
getXML retrieves the XML data as a large string for the loaded document.
handleUpdate processes the given piece of XML data that is to be sent to the server.
handleUpdateString parses and processes the given piece of XML data that is to be sent to the server.
init searches for a PARAM with a URL and loads this URL, if found.
load reloads the document using the specified URL.
msDataSourceObject provides the OLE DB simple provider interface to callers.
notifyListeners notifies current DataSourceListener objects associated with the XMLDSO object that data has changed.
paint displays diagnostic information that helps the page author debug the page if the applet that contains the XMLDSO object is given bounds that are non-zero.
parseXML reads a string of XML data and processes it.
removeDataSourceListener removes a DataSourceListener object from the XMLDSO object.
save saves the XML document to a file.
saveSchema saves the schema to the given file.
setRoot sets the root of the document for this XMLDSO object.
updateSchema updates the SCHEMA whenever the document is changed.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.