Package railo.transformer.bytecode.statement.tag

Examples of railo.transformer.bytecode.statement.tag.TagBreak


    // label
    String label=null;
   
    Attribute attrLabel = tag.getAttribute("label");
    if(attrLabel!=null){
      TagBreak tb=(TagBreak) tag;
      label=variableToString(tag,attrLabel,null);
      if(label!=null){
        tb.setLabel(label=label.trim());
        tag.removeAttribute("label");
      }
     
      else if(ASMUtil.isLiteralAttribute(tag, attrLabel, ASMUtil.TYPE_STRING, false, true)) {
        LitString ls=(LitString) CastString.toExprString(tag.getAttribute("label").getValue());
        label = ls.getString();
        if(!StringUtil.isEmpty(label,true)) {
          tb.setLabel(label=label.trim());
          tag.removeAttribute("label");
        }
        else label=null;
      }
    }
View Full Code Here

TOP

Related Classes of railo.transformer.bytecode.statement.tag.TagBreak

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.