/** * Parses the give piece of text as being markup */ protected void parseText(String text) throws JellyTagException { if ( log.isDebugEnabled() ) { log.debug( "About to parse: " + text ); } try { getXMLReader().parse( new InputSource( new StringReader( text ) ) ); } catch (Exception e) { throw new JellyTagException(e); } }
/** * Parses the give piece of text as being markup */ protected void parseText(String text) throws JellyTagException { if ( log.isDebugEnabled() ) { log.debug( "About to parse: " + text ); } try { XMLReader xmlReader = getXMLReader(); xmlReader.setContentHandler(getJellyParser()); xmlReader.parse( new InputSource( new StringReader( text ) ) ); } catch (Exception e) { throw new JellyTagException(e); } }
/** * Parses the give piece of text as being markup */ protected void parseText(String text) throws JellyTagException { if ( log.isDebugEnabled() ) { log.debug( "About to parse: " + text ); } try { XMLReader xmlReader = getXMLReader(); xmlReader.setContentHandler(getJellyParser()); xmlReader.parse( new InputSource( new StringReader( text ) ) ); } catch (Exception e) { throw new JellyTagException(e); } }
/** * Parses the give piece of text as being markup */ protected void parseText(String text) throws JellyTagException { if ( log.isDebugEnabled() ) { log.debug( "About to parse: " + text ); } try { XMLReader xmlReader = getXMLReader(); xmlReader.setContentHandler(getJellyParser()); xmlReader.parse( new InputSource( new StringReader( text ) ) ); } catch (Exception e) { throw new JellyTagException(e); } }