public class JXPath11CompatibleTypeConverter extends BasicTypeConverter
NodeSet
decoding. Suggested by JIRA issue JXPATH-10.| Constructor and Description |
|---|
JXPath11CompatibleTypeConverter() |
| 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.
|
allocateCollection, allocateNumber, canCreateCollection, convertNullToPrimitive, convertStringToPrimitive, unmodifiableCollectionpublic boolean canConvert(Object object, Class toType)
BasicTypeConvertercanConvert in interface TypeConvertercanConvert in class BasicTypeConverterobject - to checktoType - prospective destination classpublic Object convert(Object object, Class toType)
BasicTypeConverterconvert in interface TypeConverterconvert in class BasicTypeConverterobject - to converttoType - destination classCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.