Package railo.runtime.dump

Examples of railo.runtime.dump.DumpData


      Property p;
      Object child;
      for(int i=0;i<properties.length;i++) {
        p=properties[i];
        child = ci.scope.get(KeyImpl.init(p.getName()),null);
        DumpData dd;
        if(child instanceof Component) {
          DumpTable t = new DumpTable("component","#99cc99","#ffffff","#000000");
          t.appendRow(1,new SimpleDumpData("Component"),new SimpleDumpData(((Component)child).getCallName()));
          dd=t;
         
View Full Code Here


  }

  @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel,DumpProperties properties) {
   
    DumpData dd = getInfo().toDumpData(pageContext, maxlevel,properties);
    if(dd instanceof DumpTable)((DumpTable)dd).setTitle("Struct (PDFDocument)");
    return dd;
  }
View Full Code Here

        DumpTable atts = closure?new DumpTable("udf","#ff00ff","#ffccff","#000000"):new DumpTable("udf","#cc66ff","#ffccff","#000000");
       
    atts.appendRow(new DumpRow(63,new DumpData[]{new SimpleDumpData("label"),new SimpleDumpData("name"),new SimpleDumpData("required"),new SimpleDumpData("type"),new SimpleDumpData("default"),new SimpleDumpData("hint")}));
    for(int i=0;i<args.length;i++) {
      FunctionArgument arg=args[i];
      DumpData def;
      try {
        Object oa=null;
                try {
                    oa = UDFUtil.getDefaultValue(pageContext, (UDFPlus)udf, i, null);//udf.getDefaultValue(pageContext,i,null);
                } catch (PageException e1) {
View Full Code Here

   
    Set setShow=(show!=null)?ListUtil.listToSet(show.toLowerCase(),",",true):null;
    Set setHide=(hide!=null)?ListUtil.listToSet(hide.toLowerCase(),",",true):null;
   
    DumpProperties properties=new DumpProperties((int)maxLevel,setShow,setHide,(int)keys,metainfo,showUDFs);
    DumpData dd = DumpUtil.toDumpData(object, pc,(int)maxLevel,properties);
   
    if(!StringUtil.isEmpty(label)) {
      DumpTable table=new DumpTable("#ffffff","#cccccc","#000000");
      table.appendRow(1,new SimpleDumpData(label));
      table.appendRow(0,dd);
View Full Code Here

    return _info().size();
  }

  @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp) {
    DumpData dd = _info().toDumpData(pageContext, maxlevel,dp);
    if(dd instanceof DumpTable)((DumpTable)dd).setTitle("Struct (Image)");
    return dd;
  }
View Full Code Here

     
      Set setShow=(show!=null)?ListUtil.listToSet(show.toLowerCase(),",",true):null;
      Set setHide=(hide!=null)?ListUtil.listToSet(hide.toLowerCase(),",",true):null;
     
      DumpProperties properties=new DumpProperties((int)maxLevel,setShow,setHide,(int)keys,metainfo,showUDFs);
      DumpData dd = DumpUtil.toDumpData(object, pc,(int)maxLevel,properties);
     
      if(!StringUtil.isEmpty(label)) {
        DumpTable table=new DumpTable("#ffffff","#cccccc","#000000");
        table.appendRow(1,new SimpleDumpData(label));
        //table.appendRow(1,new SimpleDumpData(getContext()));
View Full Code Here

    return false;
  }

  @Override
  public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp) {
      DumpData data = super.toDumpData(pageContext, maxlevel,dp);
      if(data instanceof DumpTable)
        ((DumpTable)data).setTitle("Railo ["+Info.getVersionAsString()+"] - Error ("+Caster.toClassName(t)+")");
       
        return data;
    }
View Full Code Here

TOP

Related Classes of railo.runtime.dump.DumpData

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.