Package com.uic.ase.proj.xbn.placeholder

Examples of com.uic.ase.proj.xbn.placeholder.s_s


  public s_s getNextSurrTxtAndGap() throws TemplateFormatException  {
    if(!hasAnotherGap())  {
      throwAX("getNextSurrTxtAndGap:  hasAnotherGap() equals false.");
    }

    s_s ts = ssNextSurrTxtAndGap;
    ssNextSurrTxtAndGap = null;
    getNextSTG();
    return ts;
  }
View Full Code Here


      if(tlao.tpc.getOptrDebug().isOn())  {
        tlao.tpc.getOptrDebug().write("\t[" + getLineNumber() + ":" + getCharArrIdx() + "]  GAP:  '" + sName + "'");
      }

      ssNextSurrTxtAndGap = new s_s(tlao.sbSurrounding.toString(), sName);

      tlao.sbSurrounding.setLength(0);

      //The next surrounding text and gap name are now in the
      //s_s, which is retrieved via getNextSurrTxtAndGap()
View Full Code Here

      TemplateLineAnalyzer tla = new TemplateLineAnalyzer(getName(), for_lineRetrieval.getLineNumberPrev(), sbLine, tlao);

      String sFinalSurrTxt = null;
      while(!tla.isDoneAnalyzing())  {
        if(tla.hasAnotherGap())  {
          s_s ss = tla.getNextSurrTxtAndGap();

          if(!tp_config.doIgnoreSurrTxt())  {
            sbCurrentSurrText.append(ss.s1);
            addCurrSurrTextOntoArray(acsSurroundingText, sbCurrentSurrText);
          }
View Full Code Here

    if(b_twoPartsRqd  &&  iIdxOfTab == -1)  {
      throwAX(s_callingFunc, i_lineNumber, "There are no tabs in the line.  At least one tab must separate the " + s_itemOneType + " from the " + s_itemTwoType + ".  LINE:  '" + uStr.getVisible(s_cfgFileLine) + "'");
    }

    s_s ss = new s_s();

    if(iIdxOfTab != -1)  {
      ss.s1 = s_cfgFileLine.substring(0, iIdxOfTab);
      ss.s2 = s_cfgFileLine.substring((iIdxOfTab + 1), s_cfgFileLine.length());
      ss.s2 = ss.s2.trim();
View Full Code Here

    @param  i_lineNumber  The line number of s_cfgFileLine, for potential error messages only.
    @param  pt_array  The PTArray containing all legal package name prefixes.
    @return  <CODE>(new <A HREF="~JD~jdc#jdc(s,s,pta)~EJD~">JDClass</A>([string1], [string2], pt_array))</CODE>
   **/
  public final JDClass getJDClassFromLine(String s_cfgFileLine, int i_lineNumber, PTArray pt_array)  {
    s_s ss = get2StringsFromLine(s_cfgFileLine, "getJDClassFromLine", i_lineNumber, "abbreviation", "fully qualified class name", true);

    return (new JDClass(ss.s1, ss.s2, pt_array));
  }
View Full Code Here

    @param  i_lineNumber  The line number of s_cfgFileLine, for potential error messages only.
    @param  pt_array  The PTArray containing all legal package name prefixes.
    @return  <CODE>(new <A HREF="~JD~pt#pt(s,s)~EJD~">PackageType</A>([string1], [string2]))</CODE>
   **/
  public final PackageType getPackageTypeFromLine(String s_cfgFileLine, int i_lineNumber)  {
    s_s ss = get2StringsFromLine(s_cfgFileLine, "getPackageTypeFromLine", i_lineNumber, "package prefix", "external url", false);

    return (new PackageType(ss.s1, ss.s2));
  }
View Full Code Here

      StringBuffer sbLine = flrsLine.getNextLine();
      TemplateLineAnalyzer tla = new TemplateLineAnalyzer(null, flrsLine.getLineNumberPrev(), sbLine, tla_objects);

      if(!tla.isDoneAnalyzing())  {
        while(tla.hasAnotherGap())  {
          s_s ss = tla.getNextSurrTxtAndGap();
          sbOutput.append(ss.s1);
          appendLinkFromCode(sbOutput, ss.s2, jdf_current, jdc_array, b_cibJDLCTarget, b_ignoreIndirectJDLCs);

        }
View Full Code Here

        atf[i].setTemplate(new Template(tdosa_recursive.getTemplateData(i)));
        acoTAndIdx.add(new TFAndArrIdx(i, atf[i]));

      else  {
        //It is a string
        ass[i] = new s_s(tdosa_recursive.getName(i), tdosa_recursive.getString(i));
      }
    }

    if(acoTAndIdx.size() == 0)  {
      throwAX("getRecursivelyFilled:  There are no Templates in tdosa_recursive (there are a total of " + iCount + " elements in tdosa_recursive, all of which are strings).");
View Full Code Here

      //The contents for this gap have been filled.  Completely.
      tf_beingFilled.fill(sUnqGap, ass_filled[iArrIdxOfGapInTDOSA].s2);
    }

    //This template is now completely filled.
    return (new s_s(tf_beingFilled.getTemplate().getName(), tf_beingFilled.getResult()));
  }
View Full Code Here

TOP

Related Classes of com.uic.ase.proj.xbn.placeholder.s_s

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.