Examples of VariableInfo


Examples of com.dci.intellij.dbn.database.common.debug.VariableInfo

        this.variableName = variableName;
        this.debugProcess = debugProcess;
        this.icon = icon == null ? Icons.DBO_VARIABLE : icon;
        this.frameIndex = frameIndex;
        try {
            VariableInfo variableInfo = debugProcess.getDebuggerInterface().getVariableInfo(
                    variableName.toUpperCase(), frameIndex,
                    debugProcess.getDebugConnection());
            textPresentation = variableInfo.getValue();
            errorMessage = variableInfo.getError();
           
            if (textPresentation == null) {
                textPresentation = "null";
            } else {
                if (!StringUtil.isNumber(textPresentation)) {
View Full Code Here

Examples of com.dci.intellij.dbn.database.common.debug.VariableInfo

    public ExecutionStatusInfo getExecutionStatusInfo(Connection connection) throws SQLException {
        return executeCall(connection, new ExecutionStatusInfo(), "get-execution-status-info");
    }

    public VariableInfo getVariableInfo(String variableName, Integer frameNumber, Connection connection) throws SQLException {
        return executeCall(connection, new VariableInfo(), "get-variable", variableName, frameNumber);
    }
View Full Code Here

Examples of javax.servlet.jsp.tagext.VariableInfo

      String id = data.getAttributeString("id");
      if( id == null )
        id = data.getAttributeString("name");

      return new VariableInfo[] {
      new VariableInfo(id,
                       classname,
                       true,
                       VariableInfo.AT_END)
  };
View Full Code Here

Examples of javax.servlet.jsp.tagext.VariableInfo

    public static class Bug48701TEI extends TagExtraInfo {

        @Override
        public VariableInfo[] getVariableInfo(TagData data) {
            return new VariableInfo[] {
                    new VariableInfo("now", Bean.class.getCanonicalName(),
                            true, VariableInfo.AT_END)
                };
        }
View Full Code Here

Examples of javax.servlet.jsp.tagext.VariableInfo

            // Add the named objects to the list of 'introduced' names to enable
            // a later test as per JSP.5.3
            VariableInfo[] infos = n.getVariableInfos();
            if (infos != null && infos.length > 0) {
                for (int i = 0; i < infos.length; i++) {
                    VariableInfo info = infos[i];
                    if (info != null && info.getVarName() != null)
                        pageInfo.getVarInfoNames().add(info.getVarName());
                }
            }
            TagVariableInfo[] tagInfos = n.getTagVariableInfos();
            if (tagInfos != null && tagInfos.length > 0) {
                for (int i = 0; i < tagInfos.length; i++) {
View Full Code Here

Examples of javax.servlet.jsp.tagext.VariableInfo

            List<Object> vec = n.getScriptingVars(scope);
            if (vec != null) {
                for (int i = 0; i < vec.size(); i++) {
                    Object elem = vec.get(i);
                    if (elem instanceof VariableInfo) {
                        VariableInfo varInfo = (VariableInfo) elem;
                        if (varInfo.getDeclare()) {
                            out.printin(varInfo.getClassName());
                            out.print(" ");
                            out.print(varInfo.getVarName());
                            out.println(" = null;");
                        }
                    } else {
                        TagVariableInfo tagVarInfo = (TagVariableInfo) elem;
                        if (tagVarInfo.getDeclare()) {
View Full Code Here

Examples of javax.servlet.jsp.tagext.VariableInfo

    private void addVar(List<VariableInfo> varInfos, TagData data,
            String attrName, String defaultValue, String varClass) {
        String value = getValue(data, attrName, defaultValue);

        if (value != null && varClass != null) {
            varInfos.add(new VariableInfo(value, varClass, true,
                VariableInfo.AT_END));
        }
    }
View Full Code Here

Examples of javax.servlet.jsp.tagext.VariableInfo

        final String variableName = getVariableName(data);
        if (variableName == null) {
            return new VariableInfo[0];
        } else {
            return new VariableInfo[]{
                    new VariableInfo(variableName, getClassName(data), true, VariableInfo.AT_END)
            };
        }
    }
View Full Code Here

Examples of javax.servlet.jsp.tagext.VariableInfo

  public VariableInfo[] getVariableInfo(TagData data) {

    List<VariableInfo> variables = new ArrayList<VariableInfo>();

    if (data.getAttributeString("row") != null) {
      variables.add(new VariableInfo(data.getAttributeString("row"), "java.lang.Object", true,
          VariableInfo.NESTED));
    }

    return (VariableInfo[]) variables.toArray(new VariableInfo[] {});
  }
View Full Code Here

Examples of javax.servlet.jsp.tagext.VariableInfo

            Vector vec = n.getScriptingVars(scope);
            if (vec != null) {
                for (int i = 0; i < vec.size(); i++) {
                    Object elem = vec.elementAt(i);
                    if (elem instanceof VariableInfo) {
                        VariableInfo varInfo = (VariableInfo) elem;
                        if (varInfo.getDeclare()) {
                            out.printin(varInfo.getClassName());
                            out.print(" ");
                            out.print(varInfo.getVarName());
                            out.println(" = null;");
                        }
                    } else {
                        TagVariableInfo tagVarInfo = (TagVariableInfo) elem;
                        if (tagVarInfo.getDeclare()) {
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.