public class JXPath11CompatibleTypeConverter extends BasicTypeConverter
NodeSet
decoding. Suggested by JIRA issue JXPATH-10.BasicTypeConverter.ValueNodeSet, BasicTypeConverter.ValuePointer| Constructor and Description |
|---|
JXPath11CompatibleTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(java.lang.Object object,
java.lang.Class toType)
Returns true if it can convert the supplied
object to the specified class.
|
java.lang.Object |
convert(java.lang.Object object,
java.lang.Class toType)
Converts the supplied object to the specified
type.
|
allocateCollection, allocateNumber, canCreateCollection, convertNullToPrimitive, convertStringToPrimitive, unmodifiableCollectionpublic boolean canConvert(java.lang.Object object,
java.lang.Class toType)
BasicTypeConvertercanConvert in interface TypeConvertercanConvert in class BasicTypeConverterobject - to checktoType - prospective destination classpublic java.lang.Object convert(java.lang.Object object,
java.lang.Class toType)
BasicTypeConverterconvert in interface TypeConverterconvert in class BasicTypeConverterobject - to converttoType - destination class