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 ofEntityReplacer
that knows about the most common HTML entities.
-
-
Constructor Summary
Constructors Constructor Description DefaultEntityReplacer()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.lang.String getEntityReferenceValue(javax.xml.stream.events.EntityReference reference)
Description copied from interface:EntityReplacer
Returns the String representation of the givenEntityReference
.- Specified by:
getEntityReferenceValue
in interfaceEntityReplacer
- Parameters:
reference
- TheEntityReference
for which the String representation is requested.- Returns:
- The String representation for the given
EntityReference
.
-
-