org.gcube.informationsystem.glitebridge.kimpl.site
Class KHostType

java.lang.Object
  extended by org.gcube.informationsystem.glitebridge.kimpl.site.KHostType

public class KHostType
extends java.lang.Object

Author:
Luca Frosini (ISTI-CNR)

Constructor Summary
KHostType()
           
 
Method Summary
static HostType load(org.kxml2.io.KXmlParser parser, java.lang.String rootTag)
           
static void store(HostType hostType, 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

KHostType

public KHostType()
Method Detail

load

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

store

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