private void didParseComment() { if (_contentText != null) { if (log.isDebugEnabled()) { log.debug("Parsed Comment (" + _contentText.length() + ") : " + _contentText); } if (_contentText.length() > 0) { _parserDelegate.didParseComment(_NSStringUtilities.stringFromBuffer(_contentText), this); _contentText.setLength(0); } } } }
private void didParseText() { if (_contentText != null) { if (log.isDebugEnabled()) { log.debug("Parsed Text (" + _contentText.length() + ") : " + _contentText); } if (_contentText.length() > 0) { _parserDelegate.didParseText(_NSStringUtilities.stringFromBuffer(_contentText), this); _contentText.setLength(0); } } }
private void didParseOpeningWebObjectTag() throws WOHelperFunctionHTMLFormatException { if (_contentText != null) { if (log.isDebugEnabled()) { log.debug("Parsed Opening WebObject (" + _contentText.length() + ") : " + _contentText); } if (_contentText.length() > 0) { _parserDelegate.didParseOpeningWebObjectTag(_NSStringUtilities.stringFromBuffer(_contentText), this); _contentText.setLength(0); } } }
private void didParseClosingWebObjectTag() throws WOHelperFunctionDeclarationFormatException, WOHelperFunctionHTMLFormatException, ClassNotFoundException, ClassNotFoundException { if (_contentText != null) { if (log.isDebugEnabled()) { log.debug("Parsed Closing WebObject (" + _contentText.length() + ") : " + _contentText); } if (_contentText.length() > 0) { _parserDelegate.didParseClosingWebObjectTag(_NSStringUtilities.stringFromBuffer(_contentText), this); _contentText.setLength(0); } } }