Package net.sf.saxon.type.coercion
Class Base64BinaryCoercionPlan
java.lang.Object
net.sf.saxon.type.coercion.CoercionPlan
net.sf.saxon.type.coercion.AtomicCoercionPlan
net.sf.saxon.type.coercion.Base64BinaryCoercionPlan
Coercion plan for use when the required item type is xs:base64Binary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Base64BinaryCoercionPlanprotected AtomicValuepromote(AtomicValue item, ItemType requiredType, CoercionRequest request) Promote an atomic value to the required atomic type.Methods inherited from class net.sf.saxon.type.coercion.AtomicCoercionPlan
coerceAtomicValue, coerceItem, convertUntypedMethods inherited from class net.sf.saxon.type.coercion.CoercionPlan
check, coerceSequence, coercionError
-
Constructor Details
-
Base64BinaryCoercionPlan
public Base64BinaryCoercionPlan()
-
-
Method Details
-
getInstance
-
promote
Description copied from class:AtomicCoercionPlanPromote an atomic value to the required atomic type. This handles, for example, decimal to string conversion or base64Binary to hexBinary. It also handles down-casting to derived atomic types. The default implementation returns the supplied value unchanged.- Overrides:
promotein classAtomicCoercionPlan- Parameters:
item- the untyped atomic value to be convertedrequiredType- the required atomic typerequest- details of the coercion request for diagnostics- Returns:
- the converted atomic value
-