org.gcube.common.resources.kxml.runninginstance
Class KScopedAccounting

java.lang.Object
  extended by org.gcube.common.resources.kxml.runninginstance.KScopedAccounting

public class KScopedAccounting
extends Object

Author:
Andrea Manzi(CERN)

Constructor Summary
KScopedAccounting()
           
 
Method Summary
static HashMap<GCUBEScope,ScopedAccounting> load(org.kxml2.io.KXmlParser parser)
          Deserializes a ScopedAccounting map
static void store(ScopedAccounting component, org.kxml2.io.KXmlSerializer serializer)
          Serializes the ScopedAccounting component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KScopedAccounting

public KScopedAccounting()
Method Detail

load

public static HashMap<GCUBEScope,ScopedAccounting> load(org.kxml2.io.KXmlParser parser)
                                                 throws Exception
Deserializes a ScopedAccounting map

Parameters:
parser - the parser
Returns:
a scoped accounting map
Throws:
Exception - if the parsing fails

store

public static void store(ScopedAccounting component,
                         org.kxml2.io.KXmlSerializer serializer)
                  throws Exception
Serializes the ScopedAccounting component

Parameters:
component - the ScopedAccounting component to serialize
serializer - the serializer
Throws:
Exception - if the serialization fails


Copyright © 2013. All Rights Reserved.