net.sf.nxqd.xmldb
Class NxqdCollection
java.lang.Object
net.sf.nxqd.xmldb.NxqdService
net.sf.nxqd.xmldb.NxqdCollection
- All Implemented Interfaces:
- Collection, Configurable, Service
public class NxqdCollection
- extends NxqdService
- implements Collection
- Version:
- 1.0
- Author:
- webhiker
- See Also:
Collection
CollectionManagementServiceTag
public static final String CollectionManagementServiceTag
- See Also:
- Constant Field Values
XPathQueryServiceTag
public static final String XPathQueryServiceTag
- See Also:
- Constant Field Values
XUpdateQueryServiceTag
public static final String XUpdateQueryServiceTag
- See Also:
- Constant Field Values
XQueryServiceTag
public static final String XQueryServiceTag
- See Also:
- Constant Field Values
getServices
public Service[] getServices()
throws XMLDBException
- Specified by:
getServices
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.getServices()
getService
public Service getService(String name,
String version)
throws XMLDBException
- Specified by:
getService
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.getService(java.lang.String,
java.lang.String)
getParentCollection
public Collection getParentCollection()
throws XMLDBException
- Specified by:
getParentCollection
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.getParentCollection()
getChildCollectionCount
public int getChildCollectionCount()
throws XMLDBException
- Specified by:
getChildCollectionCount
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.getChildCollectionCount()
listChildCollections
public String[] listChildCollections()
throws XMLDBException
- Specified by:
listChildCollections
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.listChildCollections()
getChildCollection
public Collection getChildCollection(String name)
throws XMLDBException
- Specified by:
getChildCollection
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.getChildCollection(java.lang.String)
getResourceCount
public int getResourceCount()
throws XMLDBException
- Specified by:
getResourceCount
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.getResourceCount()
listResources
public String[] listResources()
throws XMLDBException
- Specified by:
listResources
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.listResources()
createResource
public Resource createResource(String id,
String type)
throws XMLDBException
- Specified by:
createResource
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.createResource(java.lang.String,
java.lang.String)
removeResource
public void removeResource(Resource res)
throws XMLDBException
- Specified by:
removeResource
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.removeResource(org.xmldb.api.base.Resource)
storeResource
public void storeResource(Resource res)
throws XMLDBException
- Specified by:
storeResource
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.storeResource(org.xmldb.api.base.Resource)
getResource
public Resource getResource(String id)
throws XMLDBException
- Specified by:
getResource
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.getResource(java.lang.String)
createId
public String createId()
throws XMLDBException
- Specified by:
createId
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.createId()
isOpen
public boolean isOpen()
throws XMLDBException
- Specified by:
isOpen
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.isOpen()
close
public void close()
throws XMLDBException
- Specified by:
close
in interface Collection
- Throws:
XMLDBException
- See Also:
Collection.close()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
Copyright © 2005-2006 nxqd. All Rights Reserved.