sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 32821 - http://anonsvn.icesoft.org/repo / icefaces / scratchpads / patches / sf-10973 / icefaces / core / src / com / icesoft / faces / context / DOMContext.java
Unified Diff View - DOMContext.java
/icefaces/scratchpads/patches/sf-10973/icefaces/core/src/com/icesoft/faces/context/DOMContext.java @ revision 32820
/icefaces/scratchpads/patches/sf-10973/icefaces/core/src/com/icesoft/faces/context/DOMContext.java @ revision 32821
@@ -292,6 +292,19 @@     public Text createTextNode(String cData) {         return document.createTextNode(cData);     } + + /** +     * <p/> +     * Creates a <code>Text</code> node given the specified string. +     * The output is not escaped, so the calling code must be carefully +     * audited to ensure that application data is not passed in directly.</p> +     * +     * @param cData The data for the node. +     * @return The new <code>Text</code> object. +     */ +    public Text createTextNodeUnescaped(String cData) { +         return document.createTextNode(cData); +     }     /**      * <p/>


feed icon

sventon 2.5.1