org.fcrepo.server.rest
Class DefaultSerializer

java.lang.Object
  extended by org.fcrepo.server.rest.DefaultSerializer

public class DefaultSerializer
extends Object


Constructor Summary
DefaultSerializer(String fedoraServerHost, Context context)
           
 
Method Summary
 String dataStreamsToXML(String pid, Date asOfDateTime, DatastreamDef[] dsDefs)
           
 String objectMethodsToXml(ObjectMethodsDef[] methodDefs, String pid, String sDef, Date versDateTime)
           
 String objectProfileToXML(ObjectProfile objProfile, Date versDateTime)
           
 String objectValidationToXml(Validation validation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSerializer

public DefaultSerializer(String fedoraServerHost,
                         Context context)
Method Detail

objectProfileToXML

public String objectProfileToXML(ObjectProfile objProfile,
                                 Date versDateTime)

objectMethodsToXml

public String objectMethodsToXml(ObjectMethodsDef[] methodDefs,
                                 String pid,
                                 String sDef,
                                 Date versDateTime)

dataStreamsToXML

public String dataStreamsToXML(String pid,
                               Date asOfDateTime,
                               DatastreamDef[] dsDefs)

objectValidationToXml

public String objectValidationToXml(Validation validation)


Copyright © 2012 DuraSpace. All Rights Reserved.