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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaService
public JavaService(OpenURLResolver resolver,
ContextObject contextObject)
- Parameters:
contextObject -
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