Package org.nuxeo.ecm.core.filter
Interface CharacterFilteringService
- All Known Implementing Classes:
CharacterFilteringServiceImpl
public interface CharacterFilteringService
This service filters disallowed characters in strings and document properties.
Disallowed characters are control characters that could prevent XML validation or in some cases database writes.
- Since:
- 9.1
-
Method Summary
Modifier and TypeMethodDescriptionRemoves all disallowed characters from the input value.void
filter
(DocumentModel docModel) Removes all disallowed characters from the dirty document properties.
-
Method Details
-
filter
Removes all disallowed characters from the input value.- Parameters:
value
- the value to filter- Returns:
- the filtered value
-
filter
Removes all disallowed characters from the dirty document properties.- Parameters:
docModel
- the document to filter
-