Package hu.jokeman.xparser.impl.document.nodes

Examples of hu.jokeman.xparser.impl.document.nodes.CData


    public void addCData (String content) throws DocumentBuilderException {
        XMLNode currentNode = peek ();
        if (currentNode instanceof Document ||
                currentNode instanceof Element) {
           
            currentNode.addChild (new CData (content));
        } else {
            throw new DocumentBuilderException ("CData isn't allowed here.");
        }
    }
View Full Code Here

TOP

Related Classes of hu.jokeman.xparser.impl.document.nodes.CData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.