Examples of ZCICharErr


Examples of com.uic.ase.proj.xbn.config.ZCICharErr

    @param  b_1stLineWSIsEmptyString  If the first line of a variable's value is nothing but whitespace, should it be considered as empty string?  See <A HREF="#is1stLineWSEmptyString()">is1stLineWSEmptyString</A>.
   **/
  public CRCVariable(CRCVTrim crcv_trim, CRCVUnescape crcv_unescape, String s_nullValue, boolean b_1stLineWSIsEmptyString)  {

    SOBString ssNV = new SOBString(s_nullValue);
    ZCICharErr cice = new ZCICharErr();

    try  {
      if(crcv_trim.doUseESChar())  {
        cice.ciCharErr(crcv_trim.getESChar(), "crcv_trim.getESChar()", crcv_unescape, ssNV);
      }
    }  catch(NullPointerException npx)  {
      throwAXIfNull(crcv_trim, "crcv_trim", sCNSTR);
      throwAXIfNull(crcv_unescape, "crcv_unescape", sCNSTR);
    }

    //1/2:  Putting this first avoids 2/2 from checking
    //invisible chars against one another (and therefore
    //presenting invisible strings in the error message).
    cice.ciCharErr(crcv_unescape.getEscapeChar(), "crcv_unescape.getEscapeChar()", null, ssNV);

    //2/2
    if(crcv_trim.doUseESChar()  &&
        crcv_trim.getESChar() == crcv_unescape.getEscapeChar())  {
      throwAX("constructor:  crcv_trim.doUseESChar() equals true, and crcv_trim.getESChar() ('" + crcv_trim.getESChar() + "') equals crcv_unescape.getEscapeChar() ('" + crcv_unescape.getEscapeChar() + "').");
View Full Code Here

Examples of com.uic.ase.proj.xbn.config.ZCICharErr

  public CRCDelimiters(char[] ac_varDelims, char c_mlcStart, char c_mlcEnd, char c_singleLineCmt)  {
    PACChar pacc = new PACChar(ac_varDelims, new PARCStrict(new PAROrderDir(true), UtilChar.getAOCInvisible()));
    pacc.crashIfBad("xbn.config.CRCDelimiters.constructor", "ac_varDelims");
    apcVarDelims = new APChar(ac_varDelims, true);

    ZCICharErr cice = new ZCICharErr();
    cice.ciInvisible(c_mlcStart, "c_mlcStart");
    cice.ciInvisible(c_mlcEnd, "c_mlcEnd");
    cice.ciInvisible(c_singleLineCmt, "c_singleLineCmt");

    VWChar vwc = new VWChar();
    vwc.addArray(ac_varDelims);
    vwc.add(c_mlcStart);
    vwc.add(c_mlcEnd);
View Full Code Here

Examples of com.uic.ase.proj.xbn.config.ZCICharErr

    //Get name array for getContainedIdxs...END

    SOBString[] ass = (new PASString(vws.getAOString())).getNewAOSOBString();
    (new UtilSOB()).getContainedIdxs(ass, (new GCIConfig("xbn.config.CRConfig.constructor", acsNames.getAOString(), false)));

    ZCICharErr cice = new ZCICharErr("crc_variable.getNullValue()");
    SOBString ssNV = new SOBString(crc_variable.getNullValue());

    for(int i = 0; i < crc_delimiters.getVarDelimsAPC().getLength(); i++)  {
      cice.ciCharErr(crc_delimiters.getVarDelimsAPC().getChar(i), "crc_delimiters.getVarDelimsAPC().getChar(" + i + ")", crc_variable.getCRCVUnescape(), ssNV);
    }
    cice.ciCharErr(crc_delimiters.getMLCStart(), "crc_delimiters.getMLCStart()", crc_variable.getCRCVUnescape(), ssNV);
    cice.ciCharErr(crc_delimiters.getMLCEnd(), "crc_delimiters.getMLCEnd()", crc_variable.getCRCVUnescape(), ssNV);
    cice.ciCharErr(crc_delimiters.getSingleLineCmt(), "crc_delimiters.getSingleLineCmt()", crc_variable.getCRCVUnescape(), ssNV);


    //Get all delimiters for getAll2BEscNotVD...START
      VWChar vwc = new VWChar();
      vwc.add(crc_delimiters.getMLCStart());
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.