Package groovy.xml

Class MarkupBuilder.DefaultXmlEscapingFunction

java.lang.Object
groovy.xml.MarkupBuilder.DefaultXmlEscapingFunction
All Implemented Interfaces:
java.util.function.Function<java.lang.Character,​java.util.Optional<java.lang.String>>
Enclosing class:
MarkupBuilder

public static class MarkupBuilder.DefaultXmlEscapingFunction
extends java.lang.Object
implements java.util.function.Function<java.lang.Character,​java.util.Optional<java.lang.String>>
  • Constructor Summary

    Constructors
    Constructor Description
    DefaultXmlEscapingFunction​(boolean isAttrValue, boolean useDoubleQuotes)  
  • 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

    • DefaultXmlEscapingFunction

      public DefaultXmlEscapingFunction​(boolean isAttrValue, boolean useDoubleQuotes)
  • 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>>