Code example for ContentHandler

Methods: endDocument, startDocument

0
    /** 
     * Parses the body of this tag and returns the parsed document 
     */ 
    protected void parseBody(XMLOutput output) throws JellyTagException {
        ContentHandler handler = getJellyParser();
        XMLOutput newOutput = new XMLOutput(handler);
 
        try { 
            handler.startDocument();
            invokeBody(newOutput);
            handler.endDocument();
        } 
        catch (SAXException e) {
            throw new JellyTagException(e);
        } 
    } 
 
    /** 
     * Parses the give piece of text as being markup 
     */ 
    protected void parseText(String text) throws JellyTagException {