Package groovy.xml.markupsupport

# Class SurrogateToUndefined

java.lang.Object
groovy.xml.markupsupport.SurrogateToUndefined

All Implemented Interfaces:
  `java.util.function.Function<java.lang.Character,​java.util.Optional<java.lang.String>>`

    public class SurrogateToUndefined
    extends java.lang.Object
    implements java.util.function.Function<java.lang.Character,​java.util.Optional<java.lang.String>>

Convert surrogate chars to XML undefined character.

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `SurrogateToUndefined()` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `java.util.Optional<java.lang.String>` | `apply​(java.lang.Character ch)` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface java.util.function.Function

  `andThen, compose`

- ## Constructor Details

  - ### SurrogateToUndefined

    public SurrogateToUndefined()

- ## Method Details

  - ### apply

    public java.util.Optional<java.lang.String> apply​(java.lang.Character ch)
    Specified by:
      `apply` in interface `java.util.function.Function<java.lang.Character,​java.util.Optional<java.lang.String>>`