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 Summary

    Modifier and Type Method Description
    java.lang.String getEntityReferenceValue​(javax.xml.stream.events.EntityReference reference)
    Returns the String representation of the given EntityReference.
  • Method Details

    • 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.