gov.noaa.eds.xapi.generic
Class GenericResource

java.lang.Object
  extended bygov.noaa.eds.xapi.generic.GenericConfigurable
      extended bygov.noaa.eds.xapi.generic.GenericResource
All Implemented Interfaces:
org.xmldb.api.base.Configurable, org.xmldb.api.base.Resource
Direct Known Subclasses:
GenericDomHandlerResource, GenericXmlNodeResource

public abstract class GenericResource
extends GenericConfigurable
implements org.xmldb.api.base.Resource

An abstract Resource which holds the id for all subclasses.

Version:
$Id: GenericResource.java,v 1.2 2004/12/23 22:26:01 mrxtravis Exp $
Author:
tns

Field Summary
 
Fields inherited from class gov.noaa.eds.xapi.generic.GenericConfigurable
properties
 
Constructor Summary
GenericResource()
          Creates a new instance of GenericResource
 
Method Summary
 java.lang.String getId()
           
 org.xmldb.api.base.Collection getParentCollection()
           
 void setId(java.lang.String id)
           
 
Methods inherited from class gov.noaa.eds.xapi.generic.GenericConfigurable
getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xmldb.api.base.Resource
getContent, getResourceType, setContent
 

Constructor Detail

GenericResource

public GenericResource()
Creates a new instance of GenericResource

Method Detail

getParentCollection

public org.xmldb.api.base.Collection getParentCollection()
                                                  throws org.xmldb.api.base.XMLDBException
Specified by:
getParentCollection in interface org.xmldb.api.base.Resource
Throws:
org.xmldb.api.base.XMLDBException

getId

public java.lang.String getId()
                       throws org.xmldb.api.base.XMLDBException
Specified by:
getId in interface org.xmldb.api.base.Resource
Throws:
org.xmldb.api.base.XMLDBException

setId

public void setId(java.lang.String id)


Copyright © 2004 National Oceanic and Atmospheric Administration > National Geophysical Data Center > Enterprise Data Services Division. All Rights Reserved.