Class AnyURICoercionPlan


public class AnyURICoercionPlan extends AtomicCoercionPlan
Coercion plan for use when the required item type is xs:anyURI
  • Constructor Details

    • AnyURICoercionPlan

      public AnyURICoercionPlan()
  • Method Details

    • getInstance

      public static AnyURICoercionPlan getInstance()
    • promote

      protected AtomicValue promote(AtomicValue item, ItemType requiredType, CoercionRequest request)
      Description copied from class: AtomicCoercionPlan
      Promote 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:
      promote in class AtomicCoercionPlan
      Parameters:
      item - the untyped atomic value to be converted
      requiredType - the required atomic type
      request - details of the coercion request for diagnostics
      Returns:
      the converted atomic value