1 5 14 package com.teamkonzept.lib.templates; 15 16 import com.oroinc.text.regex.*; 17 18 import com.teamkonzept.lib.*; 19 20 25 public class TKTagTag extends TKTagTagBase { 26 27 static final int TAG_TYPE = TKAtomTagTag.TAG_TYPE+1; 28 29 public int tagType () { return TAG_TYPE; }; 30 31 public TKTagTag( TKTemplateSyntax parent, String def, PatternMatcherInput matcherInput, boolean hasSubTags ) throws TKTemplateSyntaxException 32 { 33 super (parent,def,hasSubTags); 34 35 try { 36 argumentText = parent.newChild( matcherInput, parent.getSource() ); 37 } 38 catch (ArrayIndexOutOfBoundsException e) { throw new TKTemplateSyntaxException(parent.getSource(),"NOEND","TAG", def); 40 } 41 checkError(argumentText,"TAG", def); 42 } 43 44 } 46 | Popular Tags |