public class DefaultEntityReplacer extends java.lang.Object implements EntityReplacer
EntityReplacer
that knows about the most common HTML entities.Constructor and Description |
---|
DefaultEntityReplacer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEntityReferenceValue(javax.xml.stream.events.EntityReference reference)
Returns the String representation of the given
EntityReference . |
public java.lang.String getEntityReferenceValue(javax.xml.stream.events.EntityReference reference)
EntityReplacer
EntityReference
.getEntityReferenceValue
in interface EntityReplacer
reference
- The EntityReference
for which the String representation is requested.EntityReference
.