Class DefaultXmlEntityExpander

java.lang.Object
com.atlassian.confluence.content.render.xhtml.DefaultXmlEntityExpander
All Implemented Interfaces:
XmlEntityExpander

public class DefaultXmlEntityExpander extends Object implements XmlEntityExpander
  • Constructor Details

    • DefaultXmlEntityExpander

      public DefaultXmlEntityExpander(XmlEventReaderFactory xmlEventReaderFactory)
  • Method Details

    • expandEntities

      public String expandEntities(String text)
      Description copied from interface: XmlEntityExpander
      Expand all XML entities encountered in the supplied String.
      Specified by:
      expandEntities in interface XmlEntityExpander
      Parameters:
      text - a string containing entities that you require to expand to their characters.
      Returns:
      a string where xml entity references have been resolved.