Top Description Constructors Methods
groovy.xml.markupsupport

public Class SurrogateToUndefined

extends Object
implements Function<Character, Optional<String>>
Class Inheritance
All Implemented Interfaces
java.util.function.Function
Imports
java.util.Optional, java.util.function.Function

Convert surrogate chars to XML undefined character.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Optional<String>
apply(Character
the function argument
ch
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SurrogateToUndefinedback to summary
public SurrogateToUndefined()

Method Detail

applyback to summary
public Optional<String> apply(Character ch)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
ch:Character

the function argument

Returns:Optional<String>

the function result