Package groovy.xml.markupsupport

# Class SingleQuoteFilter

java.lang.Object
groovy.xml.markupsupport.SingleQuoteFilter

All Implemented Interfaces:
  `Function<Character,Optional<String>>`

public class SingleQuoteFilter extends Object implements Function<Character,Optional<String>>
Escapes single quotes for XML attribute output.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SingleQuoteFilter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Optional<String>`
  `apply(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

  - ### SingleQuoteFilter

    public SingleQuoteFilter()

- ## Method Details

  - ### apply

    public Optional<String> apply(Character ch)
    Specified by:
      `apply` in interface `Function<Character,Optional<String>>`