ORG.oclc.openurl.descriptors
Class ByValueMetadata

java.lang.Object
  |
  +--ORG.oclc.openurl.descriptors.Descriptor
        |
        +--ORG.oclc.openurl.descriptors.ByValueMetadata
Direct Known Subclasses:
ByReferenceMetadata

public class ByValueMetadata
extends Descriptor

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
ByValueMetadata(java.lang.String key, AbstractDataType dataType, AbstractMetadataFormat metadataFormat)
           
 
Method Summary
 AbstractMetadataFormat getMetadataFormat()
           
 java.lang.String toHybridOpenURL(Referrer[] referrers)
           
 java.lang.String toXml()
           
 
Methods inherited from class ORG.oclc.openurl.descriptors.Descriptor
getDataType, getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByValueMetadata

public ByValueMetadata(java.lang.String key,
                       AbstractDataType dataType,
                       AbstractMetadataFormat metadataFormat)
Parameters:
dataType -
Method Detail

getMetadataFormat

public AbstractMetadataFormat getMetadataFormat()

toXml

public java.lang.String toXml()
                       throws OpenURLException
Specified by:
toXml in class Descriptor
Returns:
XML form of the descriptor
Throws:
OpenURLException

toHybridOpenURL

public java.lang.String toHybridOpenURL(Referrer[] referrers)
                                 throws OpenURLException
Specified by:
toHybridOpenURL in class Descriptor
OpenURLException