Class MinimumEscapeHandler
- java.lang.Object
-
- com.prowidesoftware.swift.model.mx.MinimumEscapeHandler
-
- All Implemented Interfaces:
EscapeHandler
public class MinimumEscapeHandler extends java.lang.Object implements EscapeHandler
Only escapes &, <, > and quotes (in attribute). Similar to com.sun.xml.bind.marshaller.MinimumEscapeHandler- Since:
- 9.1.7
-
-
Constructor Summary
Constructors Constructor Description MinimumEscapeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
escape(char[] arr, boolean isAttribute)
-
-
-
Method Detail
-
escape
public java.lang.String escape(char[] arr, boolean isAttribute)
- Specified by:
escape
in interfaceEscapeHandler
- Parameters:
arr
- the characters to escapeisAttribute
- true if it is an attribute value
-
-