Package org.ldaptive.dn
Class MinimalAttributeValueEscaper
- java.lang.Object
-
- org.ldaptive.dn.AbstractAttributeValueEscaper
-
- org.ldaptive.dn.MinimalAttributeValueEscaper
-
- All Implemented Interfaces:
AttributeValueEscaper
public class MinimalAttributeValueEscaper extends AbstractAttributeValueEscaper
Escapes an attribute value per RFC 4514 section 2.4. ASCII control characters and all non-ASCII data is not encoded.
-
-
Constructor Summary
Constructors Constructor Description MinimalAttributeValueEscaper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processAscii(StringBuilder sb, char ch)
Process ASCII character.protected void
processNonAscii(StringBuilder sb, byte... bytes)
Process non-ASCII character(s).-
Methods inherited from class org.ldaptive.dn.AbstractAttributeValueEscaper
escape, escapeHex
-
-
-
-
Method Detail
-
processAscii
protected void processAscii(StringBuilder sb, char ch)
Description copied from class:AbstractAttributeValueEscaper
Process ASCII character.- Specified by:
processAscii
in classAbstractAttributeValueEscaper
- Parameters:
sb
- to append characters toch
- to process
-
processNonAscii
protected void processNonAscii(StringBuilder sb, byte... bytes)
Description copied from class:AbstractAttributeValueEscaper
Process non-ASCII character(s).- Specified by:
processNonAscii
in classAbstractAttributeValueEscaper
- Parameters:
sb
- to append characters tobytes
- to process
-
-