Class DefaultXmlEntityExpander

    • 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 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.