ORG.oclc.openurl.services
Class JavaService

java.lang.Object
  |
  +--ORG.oclc.openurl.services.AbstractService
        |
        +--ORG.oclc.openurl.services.JavaService
Direct Known Subclasses:
InsertXsl

public abstract class JavaService
extends AbstractService

Author:
Jeffrey A. Young TODO Describe type

Field Summary
 
Fields inherited from class ORG.oclc.openurl.services.AbstractService
contextObject
 
Constructor Summary
JavaService(OpenURLResolver resolver, ContextObject contextObject)
           
 
Method Summary
abstract  byte[] getBytes()
           
abstract  java.lang.String getContentType()
           
abstract  java.lang.String getRedirectURL()
           
abstract  int getStatus()
           
 
Methods inherited from class ORG.oclc.openurl.services.AbstractService
getDescriptor, getInitParams, getOpenURLResolver, init, serviceFactory, serviceFactory, serviceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaService

public JavaService(OpenURLResolver resolver,
                   ContextObject contextObject)
Parameters:
contextObject -
Method Detail

getContentType

public abstract java.lang.String getContentType()
Specified by:
getContentType in class AbstractService

getStatus

public abstract int getStatus()
Specified by:
getStatus in class AbstractService

getRedirectURL

public abstract java.lang.String getRedirectURL()
Specified by:
getRedirectURL in class AbstractService

getBytes

public abstract byte[] getBytes()
                         throws java.io.UnsupportedEncodingException,
                                OpenURLException,
                                javax.xml.transform.TransformerConfigurationException,
                                javax.xml.transform.TransformerException,
                                org.xml.sax.SAXException,
                                java.io.IOException,
                                javax.xml.parsers.ParserConfigurationException
Specified by:
getBytes in class AbstractService
Returns:
the byte array produced by the service
Throws:
javax.xml.transform.TransformerConfigurationException
java.io.IOException
javax.xml.transform.TransformerException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.UnsupportedEncodingException
OpenURLException