eu.planets_project.services.datatypes
Class DigitalObjectContent.Adapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<eu.planets_project.services.datatypes.ImmutableContent,DigitalObjectContent>
      extended by eu.planets_project.services.datatypes.DigitalObjectContent.Adapter
Enclosing interface:
DigitalObjectContent

public static class DigitalObjectContent.Adapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<eu.planets_project.services.datatypes.ImmutableContent,DigitalObjectContent>

Adapter for serialization of Content interface instances.


Constructor Summary
DigitalObjectContent.Adapter()
           
 
Method Summary
 eu.planets_project.services.datatypes.ImmutableContent marshal(DigitalObjectContent content)
           
 DigitalObjectContent unmarshal(eu.planets_project.services.datatypes.ImmutableContent immutableContent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigitalObjectContent.Adapter

public DigitalObjectContent.Adapter()
Method Detail

unmarshal

public DigitalObjectContent unmarshal(eu.planets_project.services.datatypes.ImmutableContent immutableContent)
                               throws java.lang.Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<eu.planets_project.services.datatypes.ImmutableContent,DigitalObjectContent>
Throws:
java.lang.Exception

marshal

public eu.planets_project.services.datatypes.ImmutableContent marshal(DigitalObjectContent content)
                                                               throws java.lang.Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<eu.planets_project.services.datatypes.ImmutableContent,DigitalObjectContent>
Throws:
java.lang.Exception


Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.