com.atlassian.confluence.content.render.xhtml
Interface XmlEntityExpander

All Known Implementing Classes:
DefaultXmlEntityExpander

public interface XmlEntityExpander

Since:
4.0

Method Summary
 java.lang.String expandEntities(java.lang.String text)
          Expand all XML entities encountered in the supplied String.
 

Method Detail

expandEntities

java.lang.String expandEntities(java.lang.String text)
Expand all XML entities encountered in the supplied String.

Parameters:
text - a string containing entities that you require to expand to their characters.
Returns:
a string where xml entity references have been resolved.
Throws:
java.lang.IllegalArgumentException - if the text is a XML (or invalid XML - say it contains an < character without a closing >)


Copyright © 2003-2014 Atlassian. All Rights Reserved.