Class DefaultEntityReplacer

java.lang.Object
org.eclipse.nebula.widgets.richtext.painter.DefaultEntityReplacer
All Implemented Interfaces:
EntityReplacer

public class DefaultEntityReplacer
extends java.lang.Object
implements EntityReplacer
Default implementation of EntityReplacer that knows about the most common HTML entities.
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultEntityReplacer()  
  • 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getEntityReferenceValue

      public java.lang.String getEntityReferenceValue​(javax.xml.stream.events.EntityReference reference)
      Description copied from interface: EntityReplacer
      Returns the String representation of the given EntityReference.
      Specified by:
      getEntityReferenceValue in interface EntityReplacer
      Parameters:
      reference - The EntityReference for which the String representation is requested.
      Returns:
      The String representation for the given EntityReference.