public class ParameterConverters.DoubleConverter extends Object implements IParameterConverter
Constructor and Description |
---|
ParameterConverters.DoubleConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
convert(JDOMExpressionFactory factory,
org.jdom.Element parameterElement)
Convert an XML element parameter to a specific type and return as an Object.
|
boolean |
handles(Class propertyType)
This method returns true if the converter can handle the given type.
|
public boolean handles(Class propertyType)
IParameterConverter
handles
in interface IParameterConverter
propertyType
- The class of the parameter.public Object convert(JDOMExpressionFactory factory, org.jdom.Element parameterElement)
IParameterConverter
convert
in interface IParameterConverter
factory
- The expression factory to be used for variable evaluation.parameterElement
- The XML parameter data.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.