Class TextInXhtmlAttributeEncoder

java.lang.Object
com.aoapps.encoding.MediaEncoder
com.aoapps.encoding.TextInXhtmlAttributeEncoder
All Implemented Interfaces:
ValidMediaFilter, ValidMediaInput, ValidMediaOutput, Encoder

@ThreadSafe @Immutable public final class TextInXhtmlAttributeEncoder extends MediaEncoder
Encodes arbitrary text into an XHTML attribute. Minimal conversion is performed, just encoding of necessary values and throwing an IOException when any character is found that cannot be converted to XHTML entities.
Author:
AO Industries, Inc.