ORG.oclc.openurl.entities
Class Referrer

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

public class Referrer
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
Referrer(Descriptor[] descriptors)
           
 
Method Summary
 AbstractService getDefaultService(OpenURLResolver resolver, ContextObject contextObject)
           
 AbstractService getPrivateDataService(OpenURLResolver resolver, Descriptor descriptor, 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

Referrer

public Referrer(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 Referrer
Throws:
OpenURLException

getPrivateDataService

public AbstractService getPrivateDataService(OpenURLResolver resolver,
                                             Descriptor descriptor,
                                             ContextObject contextObject)
                                      throws java.lang.Throwable
Parameters:
resolver -
descriptor -
contextObject -
Returns:
a Service object specified by the descriptor
Throws:
OpenURLException
javax.servlet.ServletException
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.SecurityException
java.lang.IllegalArgumentException
java.lang.Throwable

getDefaultService

public AbstractService getDefaultService(OpenURLResolver resolver,
                                         ContextObject contextObject)
                                  throws java.lang.Throwable
Returns:
a Service object to use as the default
Throws:
javax.servlet.ServletException
javax.xml.transform.TransformerException
OpenURLException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.SecurityException
java.lang.IllegalArgumentException
java.lang.Throwable