org.gcube.informationsystem.glitebridge.kimpl.status
Class KMetric

java.lang.Object
  extended by org.gcube.informationsystem.glitebridge.kimpl.status.KMetric

public class KMetric
extends java.lang.Object

Author:
Luca Frosini (ISTI-CNR)

Constructor Summary
KMetric()
           
 
Method Summary
static Metric load(org.kxml2.io.KXmlParser parser, java.lang.String rootTag)
           
static void store(Metric metric, org.kxml2.io.KXmlSerializer serializer, java.lang.String rootTag)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KMetric

public KMetric()
Method Detail

load

public static Metric load(org.kxml2.io.KXmlParser parser,
                          java.lang.String rootTag)
                   throws java.lang.Exception
Parameters:
parser - KXmlParser
rootTag - START and END TAG
Returns:
Metric
Throws:
java.lang.Exception - if fails

store

public static void store(Metric metric,
                         org.kxml2.io.KXmlSerializer serializer,
                         java.lang.String rootTag)
                  throws java.lang.Exception
Parameters:
metric - Metric
serializer - KXmlSerializer
rootTag - START and END TAG
Throws:
java.lang.Exception - if fails