gr.uoa.di.madgik.commons.configuration.parameter
Class ParameterFactory
java.lang.Object
gr.uoa.di.madgik.commons.configuration.parameter.ParameterFactory
public class ParameterFactory
- extends Object
Utility class to instnatiate IParameter instnaces from their XML serialization
- Author:
- gpapanikos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterFactory
public ParameterFactory()
GetParameter
public static IParameter GetParameter(String xml)
throws Exception
- Idetirfies the
IParameter type that the XML subtree defines, instnatiates
it and populates it
- Parameters:
xml - the XML subtree
- Returns:
- the paramter instnace
- Throws:
Exception - the deserialization could not be performed
GetParameter
public static IParameter GetParameter(Element element)
throws Exception
- Idetirfies the
IParameter type that the XML subtree defines, instnatiates
it and populates it
- Parameters:
element - the XML subtree
- Returns:
- the paramter instnace
- Throws:
Exception - the deserialization could not be performed
Copyright © 2013. All Rights Reserved.