net.sf.fastxmldb.example
Class XMLDBClient

java.lang.Object
  |
  +--net.sf.fastxmldb.example.XMLDBClient

public class XMLDBClient
extends java.lang.Object

Author:
jbirchfield

Constructor Summary
XMLDBClient()
          Default constructor This class finds or creates a collection, creates a resource and sets the contents.
 
Method Summary
 org.xmldb.api.base.Collection findOrCreateCollection(java.lang.String name)
          Finds or creates a collection
static void main(java.lang.String[] args)
          Main entry poitn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDBClient

public XMLDBClient()
Default constructor This class finds or creates a collection, creates a resource and sets the contents. Once done, it locates the collection again, looks up the resource and prints out the contents.
See Also:
Object.Object()
Method Detail

findOrCreateCollection

public org.xmldb.api.base.Collection findOrCreateCollection(java.lang.String name)
                                                     throws org.xmldb.api.base.XMLDBException
Finds or creates a collection
Parameters:
name - the name of the collection
Returns:
Collection the Collection found or created
Throws:
org.xmldb.api.base.XMLDBException - if anything goes wrong

main

public static void main(java.lang.String[] args)
Main entry poitn
Parameters:
args - no arguments needed


Copyright © 2003-2003 Birchfield & Associates, Inc.. All Rights Reserved.