Package net.sf.saxon.type.coercion
Class CoercionRequest
java.lang.Object
net.sf.saxon.type.coercion.CoercionRequest
A data package collecting together all the information needed when invoking a coercion.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionCoercionRequest(SequenceType knownType, Configuration config, Supplier<RoleDiagnostic> roleSupplier, Location locator) Make a coercion request -
Method Summary
-
Field Details
-
knownType
-
config
-
roleSupplier
-
locator
-
-
Constructor Details
-
CoercionRequest
public CoercionRequest(SequenceType knownType, Configuration config, Supplier<RoleDiagnostic> roleSupplier, Location locator) Make a coercion request- Parameters:
knownType- the item type of the supplied value, to the extent this is knownconfig- the Saxon configurationroleSupplier- identifies the value to be converted, in error messageslocator- identifies the location, for error messages
-