Package org.eclipse.wst.xml.xpath2.processor.internal.utils


org.eclipse.wst.xml.xpath2.processor.internal.utils
Class NumericTypePromoter



public class NumericTypePromoter
extends org.eclipse.wst.xml.xpath2.processor.internal.utils.TypePromoter

Constructor Summary

NumericTypePromoter()

Method Summary

protected booleancheckCombination(java.lang.Class newType)
    
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicTypedoPromote(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicType value)
    
protected java.lang.Classsubstitute(java.lang.Class typeToConsider)
    

Constructor Detail

NumericTypePromoter

public NumericTypePromoter()


Methods Detail

checkCombination

protected boolean checkCombination(java.lang.Class newType)

Parameters

newType

Returns

boolean


doPromote

public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicType doPromote(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicType value)

Parameters

value

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicType

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError


substitute

protected java.lang.Class substitute(java.lang.Class typeToConsider)

Parameters

typeToConsider

Returns

java.lang.Class