Class DefaultXmlEntityExpander
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.DefaultXmlEntityExpander
-
- All Implemented Interfaces:
XmlEntityExpander
public class DefaultXmlEntityExpander extends Object implements XmlEntityExpander
-
-
Constructor Summary
Constructors Constructor Description DefaultXmlEntityExpander(XmlEventReaderFactory xmlEventReaderFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
expandEntities(String text)
Expand all XML entities encountered in the supplied String.
-
-
-
Constructor Detail
-
DefaultXmlEntityExpander
public DefaultXmlEntityExpander(XmlEventReaderFactory xmlEventReaderFactory)
-
-
Method Detail
-
expandEntities
public String expandEntities(String text)
Description copied from interface:XmlEntityExpander
Expand all XML entities encountered in the supplied String.- Specified by:
expandEntities
in interfaceXmlEntityExpander
- Parameters:
text
- a string containing entities that you require to expand to their characters.- Returns:
- a string where xml entity references have been resolved.
-
-