ORG.oclc.openurl.entities
Class ServiceType

java.lang.Object
  |
  +--ORG.oclc.openurl.entities.AbstractEntity
        |
        +--ORG.oclc.openurl.entities.ServiceType

public class ServiceType
extends AbstractEntity

Author:
Jeffrey A. Young TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
 
Fields inherited from class ORG.oclc.openurl.entities.AbstractEntity
descriptors
 
Constructor Summary
ServiceType(Descriptor[] descriptors)
           
 
Method Summary
 AbstractService getService(OpenURLResolver resolver, ContextObject contextObject)
           
 java.lang.String toXml()
           
 
Methods inherited from class ORG.oclc.openurl.entities.AbstractEntity
getDescriptors, init, referentFactory, referrerFactory, referringEntityFactory, requesterFactory, resolverFactory, serviceTypeFactory, toHybridOpenURL, toHybridOpenURL, toHybridOpenURL, toString, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceType

public ServiceType(Descriptor[] descriptors)
Parameters:
descriptors -
Method Detail

toXml

public java.lang.String toXml()
                       throws OpenURLException
Specified by:
toXml in class AbstractEntity
Returns:
an XML representation of the Service Type entity
Throws:
OpenURLException

getService

public AbstractService getService(OpenURLResolver resolver,
                                  ContextObject contextObject)
                           throws java.lang.Throwable
Parameters:
contextObject -
Returns:
the Service specified in the contextObject
Throws:
java.lang.Throwable