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.StringgetEntityReferenceValue(javax.xml.stream.events.EntityReference reference)Returns the String representation of the givenEntityReference.
-
Constructor Details
-
DefaultEntityReplacer
public DefaultEntityReplacer()
-
-
Method Details
-
getEntityReferenceValue
public java.lang.String getEntityReferenceValue(javax.xml.stream.events.EntityReference reference)Description copied from interface:EntityReplacerReturns the String representation of the givenEntityReference.- Specified by:
getEntityReferenceValuein interfaceEntityReplacer- Parameters:
reference- TheEntityReferencefor which the String representation is requested.- Returns:
- The String representation for the given
EntityReference.
-