Package railo.runtime.dump

Examples of railo.runtime.dump.DumpTable.appendRow()


    private DumpData _toHTMLOperation(String doc, Parameters parameters) {
      DumpTable table = new DumpTable("#ccccff","#ccff66","#000000");
      DumpTable attributes = new DumpTable("#ccccff","#ccff66","#000000");
        String returns = "void";
        attributes.appendRow(3,new SimpleDumpData("name"),new SimpleDumpData("type"));
       
        for(int j = 0; j < parameters.list.size(); j++) {
            Parameter p = (Parameter)parameters.list.get(j);
           
            QName paramType = org.apache.axis.wsdl.toJava.Utils.getXSIType(p);
View Full Code Here


            QName paramType = org.apache.axis.wsdl.toJava.Utils.getXSIType(p);
            String strType=paramType.getLocalPart();
                       
            switch(p.getMode()) {
            case Parameter.IN:
                attributes.appendRow(0,new SimpleDumpData(p.getName()),new SimpleDumpData(toRailoType(strType)));
            break;
            case Parameter.OUT:
                returns=toRailoType(strType);
            break;
            case Parameter.INOUT:
View Full Code Here

            break;
            case Parameter.OUT:
                returns=toRailoType(strType);
            break;
            case Parameter.INOUT:
                attributes.appendRow(0,new SimpleDumpData(p.getName()),new SimpleDumpData(toRailoType(strType)));
                returns=toRailoType(strType);
               
            break;
            }
        }
View Full Code Here

     */
    public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp, int access) {
      DumpTable table = new DumpTable("component","#99cc99","#ccffcc","#000000");
        table.setTitle("Component "+getCallPath()+""+(" "+StringUtil.escapeHTML(top.properties.dspName)));
        table.setComment("Only the functions and data members that are accessible from your location are displayed");
        if(top.properties.extend.length()>0)table.appendRow(1,new SimpleDumpData("Extends"),new SimpleDumpData(top.properties.extend));
        if(top.properties.hint.trim().length()>0)table.appendRow(1,new SimpleDumpData("Hint"),new SimpleDumpData(top.properties.hint));
       
        DumpTable content = _toDumpData(top,pageContext,maxlevel,dp,access);
        if(!content.isEmpty())table.appendRow(1,new SimpleDumpData(""),content);
        return table;
View Full Code Here

    public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp, int access) {
      DumpTable table = new DumpTable("component","#99cc99","#ccffcc","#000000");
        table.setTitle("Component "+getCallPath()+""+(" "+StringUtil.escapeHTML(top.properties.dspName)));
        table.setComment("Only the functions and data members that are accessible from your location are displayed");
        if(top.properties.extend.length()>0)table.appendRow(1,new SimpleDumpData("Extends"),new SimpleDumpData(top.properties.extend));
        if(top.properties.hint.trim().length()>0)table.appendRow(1,new SimpleDumpData("Hint"),new SimpleDumpData(top.properties.hint));
       
        DumpTable content = _toDumpData(top,pageContext,maxlevel,dp,access);
        if(!content.isEmpty())table.appendRow(1,new SimpleDumpData(""),content);
        return table;
    }
View Full Code Here

      int a=ci.getAccess(key);
      DumpTable box=accesses[a];
      Object o=cw.get(key,null);
      if(o==ci)o="[this]";
      if(DumpUtil.keyValid(dp,maxlevel, key))
        box.appendRow(1,new SimpleDumpData(key.getString()),DumpUtil.toDumpData(o,pc,maxlevel,dp));
    }
   
   
    DumpTable table=new DumpTable("#ffffff","#cccccc","#000000");
   
View Full Code Here

        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;
         
        }
        else
          dd=DumpUtil.toDumpData(child, pc, maxlevel-1, dp);
View Full Code Here

    Iterator<Object> it = pageSources.keySet().iterator();
   
   
    DumpTable table = new DumpTable("#FFCC00","#FFFF00","#000000");
    table.setTitle("Page Source Pool");
    table.appendRow(1,new SimpleDumpData("Count"),new SimpleDumpData(pageSources.size()));
    while(it.hasNext()) {
        PageSource ps= pageSources.get(it.next());
        DumpTable inner = new DumpTable("#FFCC00","#FFFF00","#000000");
      inner.setWidth("100%");
      inner.appendRow(1,new SimpleDumpData("source"),new SimpleDumpData(ps.getDisplayPath()));
View Full Code Here

    table.appendRow(1,new SimpleDumpData("Count"),new SimpleDumpData(pageSources.size()));
    while(it.hasNext()) {
        PageSource ps= pageSources.get(it.next());
        DumpTable inner = new DumpTable("#FFCC00","#FFFF00","#000000");
      inner.setWidth("100%");
      inner.appendRow(1,new SimpleDumpData("source"),new SimpleDumpData(ps.getDisplayPath()));
      inner.appendRow(1,new SimpleDumpData("last access"),DumpUtil.toDumpData(new DateTimeImpl(pageContext,ps.getLastAccessTime(),false), pageContext,maxlevel,dp));
      inner.appendRow(1,new SimpleDumpData("access count"),new SimpleDumpData(ps.getAccessCount()));
      table.appendRow(1,new SimpleDumpData("Sources"),inner);
    }
    return table;
View Full Code Here

    while(it.hasNext()) {
        PageSource ps= pageSources.get(it.next());
        DumpTable inner = new DumpTable("#FFCC00","#FFFF00","#000000");
      inner.setWidth("100%");
      inner.appendRow(1,new SimpleDumpData("source"),new SimpleDumpData(ps.getDisplayPath()));
      inner.appendRow(1,new SimpleDumpData("last access"),DumpUtil.toDumpData(new DateTimeImpl(pageContext,ps.getLastAccessTime(),false), pageContext,maxlevel,dp));
      inner.appendRow(1,new SimpleDumpData("access count"),new SimpleDumpData(ps.getAccessCount()));
      table.appendRow(1,new SimpleDumpData("Sources"),inner);
    }
    return table;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.