ORG.oclc.openurl.dataTypes
Class XmlDataType

java.lang.Object
  |
  +--ORG.oclc.openurl.dataTypes.AbstractDataType
        |
        +--ORG.oclc.openurl.dataTypes.XmlDataType

public abstract class XmlDataType
extends AbstractDataType

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

Constructor Summary
XmlDataType(java.lang.String value)
           
 
Method Summary
static AbstractDataType getAdministrationDataType(java.lang.String key, java.lang.String value)
           
static AbstractDataType getDataType(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class ORG.oclc.openurl.dataTypes.AbstractDataType
getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlDataType

public XmlDataType(java.lang.String value)
Method Detail

getDataType

public static AbstractDataType getDataType(java.lang.String key,
                                           java.lang.String value)
                                    throws java.lang.IllegalArgumentException,
                                           java.lang.InstantiationException,
                                           java.lang.IllegalAccessException,
                                           java.lang.reflect.InvocationTargetException,
                                           OpenURLException
Parameters:
key -
Returns:
a DataType generated from the key/value pair
Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalArgumentException
OpenURLException

getAdministrationDataType

public static AbstractDataType getAdministrationDataType(java.lang.String key,
                                                         java.lang.String value)
                                                  throws OpenURLException,
                                                         java.lang.IllegalArgumentException,
                                                         java.lang.InstantiationException,
                                                         java.lang.IllegalAccessException,
                                                         java.lang.reflect.InvocationTargetException
Parameters:
key -
value -
Returns:
a DataType generated from the key/value pair
Throws:
OpenURLException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalArgumentException