Interface EscapeHandler

  • All Known Implementing Classes:
    DefaultEscapeHandler, MinimumEscapeHandler

    public interface EscapeHandler
    Simple interface used by the XML event writer when serializing the XML element content
    Since:
    9.1.7
    • Method Detail

      • escape

        java.lang.String escape​(char[] arr,
                                boolean isAttribute)
        Parameters:
        arr - the characters to escape
        isAttribute - true if it is an attribute value