com.atlassian.confluence.content.render.xhtml
Class DefaultXmlEntityExpander

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

public class DefaultXmlEntityExpander
extends Object
implements XmlEntityExpander


Constructor Summary
DefaultXmlEntityExpander(XmlEventReaderFactory xmlEventReaderFactory)
           
 
Method Summary
 String expandEntities(String text)
          Expand all XML entities encountered in the supplied String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2003-2011 Atlassian. All Rights Reserved.