Interface EntityReplacer
-
- All Known Implementing Classes:
DefaultEntityReplacer
public interface EntityReplacer
Implementations of this interface are intended to transform anEntityReference
to a String representation.This is similar to the usage of a
XMLResolver
, but as the rich text control doesn't deliver a well-formed HTML document, but only a HTML snippet, we need to perform the work manually.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getEntityReferenceValue(javax.xml.stream.events.EntityReference reference)
Returns the String representation of the givenEntityReference
.
-
-
-
Method Detail
-
getEntityReferenceValue
java.lang.String getEntityReferenceValue(javax.xml.stream.events.EntityReference reference)
Returns the String representation of the givenEntityReference
.- Parameters:
reference
- TheEntityReference
for which the String representation is requested.- Returns:
- The String representation for the given
EntityReference
.
-
-