Package io.milton.http.webdav
Class CdataDisplayNameFormatter
java.lang.Object
io.milton.http.webdav.CdataDisplayNameFormatter
- All Implemented Interfaces:
DisplayNameFormatter
Decorator which wraps the underlying display name within a CDATA tag
Provide the underlying DisplayNameFormatter as a constructor argument
- Author:
- brad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate the exact text to appear inside display name elements.
-
Constructor Details
-
CdataDisplayNameFormatter
-
-
Method Details
-
formatDisplayName
Description copied from interface:DisplayNameFormatterGenerate the exact text to appear inside display name elements. No further encoding of this text is applied when generating the xml.- Specified by:
formatDisplayNamein interfaceDisplayNameFormatter- Returns:
-