Interface EntityReplacer

  • All Known Implementing Classes:
    DefaultEntityReplacer

    public interface EntityReplacer
    Implementations of this interface are intended to transform an EntityReference 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 Detail

      • getEntityReferenceValue

        java.lang.String getEntityReferenceValue​(javax.xml.stream.events.EntityReference reference)
        Returns the String representation of the given EntityReference.
        Parameters:
        reference - The EntityReference for which the String representation is requested.
        Returns:
        The String representation for the given EntityReference.