net.sf.nxqd.xmldb
Class NxqdService

java.lang.Object
  extended by net.sf.nxqd.xmldb.NxqdService
All Implemented Interfaces:
Configurable, Service
Direct Known Subclasses:
NxqdBinaryResource, NxqdCollection, NxqdCollectionManagementService, NxqdXMLResource, NxqdXPathQueryService, NxqdXUpdateQueryService

public class NxqdService
extends Object
implements Configurable, Service

The class NxqdService is an abstract class from which all Xml:DB services are derived.

Version:
1.0
Author:
webhiker

Field Summary
static String NAME
           
static String VERSION
           
 
Constructor Summary
NxqdService(String name, String version)
           
 
Method Summary
 String getName()
           
 String getProperty(String name)
           
 String getVersion()
           
 Enumeration keys()
           
 void removeProperty(String name)
           
 void setCollection(Collection col)
           
 void setProperty(String name, String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

VERSION

public static final String VERSION
See Also:
Constant Field Values
Constructor Detail

NxqdService

public NxqdService(String name,
                   String version)
Method Detail

getName

public final String getName()
Specified by:
getName in interface Service
See Also:
Service.getName()

getVersion

public final String getVersion()
Specified by:
getVersion in interface Service
See Also:
Service.getVersion()

setCollection

public void setCollection(Collection col)
                   throws XMLDBException
Specified by:
setCollection in interface Service
Throws:
XMLDBException
See Also:
Service.setCollection(org.xmldb.api.base.Collection)

getProperty

public String getProperty(String name)
Specified by:
getProperty in interface Configurable
See Also:
Configurable.getProperty(java.lang.String)

setProperty

public void setProperty(String name,
                        String value)
Specified by:
setProperty in interface Configurable
See Also:
Configurable.setProperty(java.lang.String, java.lang.String)

removeProperty

public void removeProperty(String name)
Parameters:
name - a String value
See Also:
Map.remove(java.lang.Object)

keys

public Enumeration keys()
See Also:
Hashtable.keys()


Copyright © 2005-2006 nxqd. All Rights Reserved.