コード例 #1
0
ファイル: VTDGen.cs プロジェクト: DuLerWeil/vtd-xml
        private bool ws; // to prserve whitespace or not, default to false

        #endregion Fields

        #region Constructors

        /// <summary> VTDGen constructor method.</summary>
        public VTDGen()
        {
            attr_name_array = new long[ATTR_NAME_ARRAY_SIZE];
            prefixed_attr_name_array = new long[ATTR_NAME_ARRAY_SIZE];
            prefix_URL_array = new int[ATTR_NAME_ARRAY_SIZE];
            tag_stack = new long[TAG_STACK_SIZE];
            //scratch_buffer = new int[10];
            VTDDepth = 0;
            LcDepth = 3;
            br = false;
            e = new EOFException("permature EOF reached, XML document incomplete");
            ws = false;
            nsBuffer1 = new FastIntBuffer(4);
            nsBuffer2 = new FastLongBuffer(4);
            nsBuffer3 = new FastLongBuffer(4);
            currentElementRecord = 0;
            singleByteEncoding = true;
            shallowDepth = true;
        }
コード例 #2
0
ファイル: VTDGen.cs プロジェクト: IgorBabalich/vtd-xml
 /// <summary> VTDGen constructor method.</summary>
 public VTDGen()
 {
     attr_name_array = new long[ATTR_NAME_ARRAY_SIZE];
     tag_stack = new long[TAG_STACK_SIZE];
     //scratch_buffer = new int[10];
     VTDDepth = 0;
     r = new UTF8Reader(this);
     br = false;
     e = new EOFException("permature EOF reached, XML document incomplete");
 }