Examples of UnicodeString


Examples of client.net.sf.saxon.ce.regex.UnicodeString

    public static boolean isValidNCName(CharSequence ncName) {
        int len = ncName.length();
        if (len==0) {
            return false;
        }
        UnicodeString us = GeneralUnicodeString.makeUnicodeString(ncName);
        if (!isNCNameStartChar(us.charAt(0))) {
            return false;
        }
        for (int i=1; i<len; i++) {
            if (!isNCNameChar(us.charAt(i))) {
                return false;
            }
        }
        return true;
    }
View Full Code Here

Examples of co.nstant.in.cbor.model.UnicodeString

        add(convert(string));
        return this;
    }

    public UnicodeStringBuilder<CborBuilder> startString() {
        UnicodeString unicodeString = new UnicodeString(null);
        unicodeString.setChunked(true);
        add(unicodeString);
        return new UnicodeStringBuilder<CborBuilder>(this);
    }
View Full Code Here

Examples of com.extentech.formats.XLS.Unicodestring

  /**
   * parse this Text element into a unicode string with formatting runs
   */
  public static Text parseOOXML(XmlPullParser xpp, Stack<String> lastTag, WorkBookHandle bk) {
      Unicodestring str= null;
        String s= "";
        ArrayList<short[]> formattingRuns= null;
      try {
          int eventType = xpp.getEventType();
          while (eventType != XmlPullParser.END_DOCUMENT) {
View Full Code Here

Examples of jcifs.dcerpc.UnicodeString

      if (netrLogonSamLogon.getStatus() == 0) {
        NetlogonValidationSamInfo netlogonValidationSamInfo =
          netrLogonSamLogon.getNetlogonValidationSamInfo();

        UnicodeString name = new UnicodeString(
          netlogonValidationSamInfo.getEffectiveName(), false);

        return new NtlmUserAccount(name.toString());
      }
      else {
        SmbException smbe = new SmbException(
          netrLogonSamLogon.getStatus(), false);
View Full Code Here

Examples of org.apache.poi.hssf.record.UnicodeString

                addTextCell(record, label.getValue());
                break;

            case LabelSSTRecord.sid: // Ref. a string in the shared string table
                LabelSSTRecord sst = (LabelSSTRecord) record;
                UnicodeString unicode = sstRecord.getString(sst.getSSTIndex());
                addTextCell(record, unicode.getString());
                break;

            case NumberRecord.sid: // Contains a numeric cell value
                NumberRecord number = (NumberRecord) record;
                addTextCell(record, formatListener.formatNumberDateCell(number));
View Full Code Here

Examples of org.apache.poi.hssf.record.UnicodeString

                /* LabelSSTRecord: Ref. a string in the shared string table */
                case LabelSSTRecord.sid:
                    LabelSSTRecord labelSSTRecord = (LabelSSTRecord)record;
                    int sstIndex = labelSSTRecord.getSSTIndex();
                    UnicodeString unicodeStr = sstRecord.getString(sstIndex);
                    str = addText(unicodeStr.getString());
                    break;

                /* NumberRecord: Contains a numeric cell value */
                case NumberRecord.sid:
                    double numValue = ((NumberRecord)record).getValue();
View Full Code Here

Examples of org.apache.poi.hssf.record.UnicodeString

  }

  private Object parseArrayItem() {
    SkipWhite();
    switch(look) {
      case '"': return new UnicodeString(parseStringLiteral());
      case '#': return ErrorConstant.valueOf(parseErrorLiteral());
      case 'F': case 'f':
      case 'T': case 't':
        return parseBooleanLiteral();
    }
View Full Code Here

Examples of org.apache.poi.hssf.record.UnicodeString

    public UnicodeString getSSTString(int str) {
        if (sst == null) {
            insertSST();
        }
        UnicodeString retval = sst.getString(str);

        if (log.check( POILogger.DEBUG ))
            log.log(DEBUG, "Returning SST for index=", Integer.valueOf(str),
                " String= ", retval);
        return retval;
View Full Code Here

Examples of org.apache.poi.hssf.record.UnicodeString

                    lrec.setRow(row);
                    lrec.setXFIndex(styleIndex);
                }
                if (setValue) {
                    String str = convertCellValueToString();
                    int sstIndex = _book.getWorkbook().addSSTString(new UnicodeString(str));
                    lrec.setSSTIndex(sstIndex);
                    UnicodeString us = _book.getWorkbook().getSSTString(sstIndex);
                    _stringValue = new HSSFRichTextString();
                    _stringValue.setUnicodeString(us);
                }
                _record = lrec;
                break;
View Full Code Here

Examples of org.apache.poi.hssf.record.UnicodeString

        if (_cellType != CELL_TYPE_STRING) {
            setCellType(CELL_TYPE_STRING, false, row, col, styleIndex);
        }
        int index = 0;

        UnicodeString str = hvalue.getUnicodeString();
        index = _book.getWorkbook().addSSTString(str);
        (( LabelSSTRecord ) _record).setSSTIndex(index);
        _stringValue = hvalue;
        _stringValue.setWorkbookReferences(_book.getWorkbook(), (( LabelSSTRecord ) _record));
        _stringValue.setUnicodeString(_book.getWorkbook().getSSTString(index));
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.