public interface TypeConverter
TypeUtils
to introduce
additional type conversions for JXPath. Most of
the time BasicTypeConverter
should be used as the superclass.TypeUtils.setTypeConverter(org.apache.commons.jxpath.util.TypeConverter)
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Object object,
Class toType)
Returns true if it can convert the supplied
object to the specified class.
|
Object |
convert(Object object,
Class toType)
Converts the supplied object to the specified
type.
|
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.