Package ortus.boxlang.runtime.dynamic.casters
package ortus.boxlang.runtime.dynamic.casters
-
ClassDescriptionI handle casting anything to a ArrayI handle casting anythingI handle casting anything to a booleanI handle casting anythingCastAttempt<T>A container object which may or may not contain the result of a cast attempt This allows you to attempt a cast, getting the casted value if it was successfull, but not throwing an exception if it fails.I handle casting anythingI handle casting anything to a ClosureI handle casting anything to a collectionI cast to DateTime objectsI handle casting anything to a DoubleI handle casting anythingI handle casting anything to a FunctionI handle casting anythingI handle casting anythingI handle casting anything to a KeyI handle casting anythingI handle casting anything to a Array that needs to be modifiable This means I reject - Native Java arrays - ImmutableLists - UmmodifiableListsI handle casting anything to a Struct that needs to be modifiable This means I reject - ImmutableMaps - UmmodifiableMapsI handle casting anything to QueryI handle casting anythingI handle casting anything to a stringI handle casting anything to a StructI handle casting anything to a Struct, except I'll also cast any Java classes which are not a built in datatype into a struct, using the public fields as the keys and the values as the values.I cast to Time objectsI handle casting anything to XML