org.sixdml.excelon
Class xlnServiceBase

java.lang.Object
  |
  +--org.sixdml.excelon.xlnServiceBase
All Implemented Interfaces:
org.xmldb.api.base.Configurable, org.xmldb.api.base.Service, org.sixdml.SixdmlConstants
Direct Known Subclasses:
xlnNamespaceAwareService, xlnSixdmlCollectionManagementService, xlnXsltTransformService

public abstract class xlnServiceBase
extends java.lang.Object
implements org.xmldb.api.base.Service, org.sixdml.SixdmlConstants

  
 xlnServiceBase.java

 Base class of all services in the org.sixdml.excelon hierarchy. 
 
 Created: Tue Feb 04 04:07:37 2002

 


Field Summary
protected  org.sixdml.excelon.xlnSixdmlCollection collection
          The underlying collection object that provides the context for this service, if any.
protected  java.util.HashMap properties
          This is the table of properties for the needed by the Configurable interface.
 
Fields inherited from interface org.sixdml.SixdmlConstants
SIXDML_NS, SIXDML_VERSION
 
Constructor Summary
xlnServiceBase()
           
 
Method Summary
abstract  java.lang.String getName()
          Gets the name of the service.
 java.lang.String getProperty(java.lang.String name)
          Returns the value of the property identified by name.
 java.lang.String getVersion()
          Gets the version of the service.
 void setCollection(org.xmldb.api.base.Collection col)
          Sets the Collection attribute of the Service object.
 void setProperty(java.lang.String name, java.lang.String value)
          Sets the property name to have the value provided in value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

collection

protected org.sixdml.excelon.xlnSixdmlCollection collection
The underlying collection object that provides the context for this service, if any.

properties

protected java.util.HashMap properties
This is the table of properties for the needed by the Configurable interface.
See Also:
Configurable
Constructor Detail

xlnServiceBase

public xlnServiceBase()
Method Detail

setCollection

public void setCollection(org.xmldb.api.base.Collection col)
Sets the Collection attribute of the Service object. Does nothing because transactions exist across sessions and are not specific to collections.
Specified by:
setCollection in interface org.xmldb.api.base.Service

getName

public abstract java.lang.String getName()
Gets the name of the service.
Specified by:
getName in interface org.xmldb.api.base.Service
Returns:
the name of the service.

getVersion

public java.lang.String getVersion()
Gets the version of the service.
Specified by:
getVersion in interface org.xmldb.api.base.Service
Returns:
the version of the service.

getProperty

public java.lang.String getProperty(java.lang.String name)
Returns the value of the property identified by name.
Specified by:
getProperty in interface org.xmldb.api.base.Configurable
Returns:
the value of the property or null if there is no matching value for the key in hash table.

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
Sets the property name to have the value provided in value.
Specified by:
setProperty in interface org.xmldb.api.base.Configurable
Parameters:
name - the name of the property to set.
value - the value to set for the property.