Beispiel #1
0
        /// <summary>
        /// The parse close.
        /// </summary>
        /// <param name="pParser">
        /// The p parser.
        /// </param>
        public override void ParseClose(CIwTextParserITX pParser)
        {
            var parent = pParser.GetObject(-1);

            if (parent != null)
            {
                parent.ParseCloseChild(pParser, this);
            }
        }
Beispiel #2
0
        /// <summary>
        /// The parse attribute.
        /// </summary>
        /// <param name="pParser">
        /// The p parser.
        /// </param>
        /// <param name="pAttrName">
        /// The p attr name.
        /// </param>
        /// <returns>
        /// The parse attribute.
        /// </returns>
        public override bool ParseAttribute(CIwTextParserITX pParser, string pAttrName)
        {
            if (0 == string.Compare(pAttrName, "name", StringComparison.InvariantCultureIgnoreCase))
            {
                pParser.ReadStringHash();
                return(true);
            }

            return(false);
        }
Beispiel #3
0
 /// <summary>
 /// The parse attribute.
 /// </summary>
 /// <param name="pParser">
 /// The p parser.
 /// </param>
 /// <param name="pAttrName">
 /// The p attr name.
 /// </param>
 /// <returns>
 /// The parse attribute.
 /// </returns>
 public override bool ParseAttribute(CIwTextParserITX pParser, string pAttrName)
 {
     return base.ParseAttribute(pParser, pAttrName);
 }
Beispiel #4
0
 /// <summary>
 /// The parse open.
 /// </summary>
 /// <param name="pParser">
 /// The p parser.
 /// </param>
 public override void ParseOpen(CIwTextParserITX pParser)
 {
 }
Beispiel #5
0
 /// <summary>
 /// The parse close child.
 /// </summary>
 /// <param name="pParser">
 /// The p parser.
 /// </param>
 /// <param name="pChild">
 /// The p child.
 /// </param>
 public virtual void ParseCloseChild(CIwTextParserITX pParser, CIwManaged pChild)
 {
 }
Beispiel #6
0
 /// <summary>
 /// The parse open.
 /// </summary>
 /// <param name="pParser">
 /// The p parser.
 /// </param>
 public override void ParseOpen(CIwTextParserITX pParser)
 {
 }
Beispiel #7
0
 /// <summary>
 /// The parse close child.
 /// </summary>
 /// <param name="pParser">
 /// The p parser.
 /// </param>
 /// <param name="pChild">
 /// The p child.
 /// </param>
 public virtual void ParseCloseChild(CIwTextParserITX pParser, CIwManaged pChild)
 {
 }
Beispiel #8
0
 /// <summary>
 /// The parse close.
 /// </summary>
 /// <param name="pParser">
 /// The p parser.
 /// </param>
 public override void ParseClose(CIwTextParserITX pParser)
 {
     var parent = pParser.GetObject(-1);
     if (parent != null)
     {
         parent.ParseCloseChild(pParser, this);
     }
 }
Beispiel #9
0
        /// <summary>
        /// The parse attribute.
        /// </summary>
        /// <param name="pParser">
        /// The p parser.
        /// </param>
        /// <param name="pAttrName">
        /// The p attr name.
        /// </param>
        /// <returns>
        /// The parse attribute.
        /// </returns>
        public override bool ParseAttribute(CIwTextParserITX pParser, string pAttrName)
        {
            if (0 == string.Compare(pAttrName, "name", StringComparison.InvariantCultureIgnoreCase))
            {
                pParser.ReadStringHash();
                return true;
            }

            return false;
        }