1 5 package org.exoplatform.services.grammar.wiki.impl; 6 7 12 public class MultipleNewLineTokenHandler extends TokenHandler { 13 14 public Token handleToken(Token parent, Token token, ParsingContext context) { 15 context.out("<br/><br/>") ; 16 return context.nextToken(token) ; 17 } 18 19 public String [] getHandleableTokenType() { 20 return new String []{Token.MULTIPLE_NEW_LINE_TOKEN} ; 21 } 22 } | Popular Tags |