Class GWCoercionManager
- java.lang.Object
-
- gw.config.BaseService
-
- gw.lang.parser.StandardCoercionManager
-
- gw.internal.gosu.parser.gwPlatform.GWCoercionManager
-
- All Implemented Interfaces:
IService,ICoercionManager,IPluginHost
public class GWCoercionManager extends StandardCoercionManager
- Author:
- cgross
-
-
Field Summary
-
Fields inherited from class gw.lang.parser.StandardCoercionManager
_coercerCache, NO_DICE
-
-
Constructor Summary
Constructors Constructor Description GWCoercionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICoercergetCoercerInternal(IType lhsType, IType rhsType, boolean runtime)BigDecimalmakeBigDecimalFrom(Object obj)RationalmakeRationalFrom(Object obj)StringmakeStringFrom(Object obj)-
Methods inherited from class gw.lang.parser.StandardCoercionManager
arePrimitiveTypesAssignable, canCoerce, convertNullAsPrimitive, convertValue, findCoercer, formatDate, formatNumber, formatTime, getHighPriorityPrimitiveOrBoxedConverter, getPrimitiveOrBoxedConverter, isBoxed, isDateTime, isObjectMethod, isPrimitiveOrBoxed, isStructurallyAssignable, isStructurallyAssignable_Laxed, isStructurallyAssignable_Laxed, isStructurallyAssignable_Laxed, makeBigIntegerFrom, makeBooleanFrom, makeDateFrom, makeDoubleFrom, makeFloatFrom, makeIntegerFrom, makeLongFrom, makePrimitiveBooleanFrom, makePrimitiveDoubleFrom, makePrimitiveFloatFrom, makePrimitiveIntegerFrom, makePrimitiveLongFrom, notCoercibleOrRequiresExplicitCoercion, parseDateTime, parseNumber, resolveCoercerStatically, verifyTypesComparable, verifyTypesComparable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.plugin.IPluginHost
getInterface
-
-
-
-
Method Detail
-
getCoercerInternal
public ICoercer getCoercerInternal(IType lhsType, IType rhsType, boolean runtime)
- Overrides:
getCoercerInternalin classStandardCoercionManager
-
makeStringFrom
public String makeStringFrom(Object obj)
- Specified by:
makeStringFromin interfaceICoercionManager- Overrides:
makeStringFromin classStandardCoercionManager
-
makeBigDecimalFrom
public BigDecimal makeBigDecimalFrom(Object obj)
- Specified by:
makeBigDecimalFromin interfaceICoercionManager- Overrides:
makeBigDecimalFromin classStandardCoercionManager
-
makeRationalFrom
public Rational makeRationalFrom(Object obj)
- Specified by:
makeRationalFromin interfaceICoercionManager- Overrides:
makeRationalFromin classStandardCoercionManager
-
-