public override AsXMLList child(String name)
 {
     AsXMLList result = new AsXMLList();
     AsVector<AsXML> __childs_ = mChildren.list();
     if (__childs_ != null)
     {
         foreach (AsXML child in __childs_)
         {
             if((child.name() == name))
             {
                 result.appendChild(child);
             }
         }
     }
     return result;
 }
 public override bc.flash.xml.AsXMLList child(String name)
 {
     bc.flash.xml.AsXMLList result = new bc.flash.xml.AsXMLList();
     AsVector<bc.flash.xml.AsXML> __childs_ = mChildren.list();
     if (__childs_ != null)
     {
         foreach (bc.flash.xml.AsXML child in __childs_)
         {
             if(child.name() == name)
             {
                 result.appendChild(child);
             }
         }
     }
     return result;
 }
Example #3
0
        public override bc.flash.xml.AsXMLList child(String name)
        {
            bc.flash.xml.AsXMLList result    = new bc.flash.xml.AsXMLList();
            AsVector <AsXML>       __childs_ = mChildren.list();

            if (__childs_ != null)
            {
                foreach (bc.flash.xml.AsXML child in __childs_)
                {
                    if ((child.name() == name))
                    {
                        result.appendChild(child);
                    }
                }
            }
            return(result);
        }
Example #4
0
        public override bc.flash.xml.AsXMLList elements(String name)
        {
            if ((name == "*"))
            {
                return(mChildren);
            }
            bc.flash.xml.AsXMLList result    = new bc.flash.xml.AsXMLList();
            AsVector <AsXML>       __childs_ = mChildren.list();

            if (__childs_ != null)
            {
                foreach (bc.flash.xml.AsXML child in __childs_)
                {
                    if (((child.name() == name) && (child.nodeKind() == nodeKind())))
                    {
                        result.appendChild(child);
                    }
                }
            }
            return(result);
        }
 public override bc.flash.xml.AsXMLList elements(String name)
 {
     if(name == "*")
     {
         return mChildren;
     }
     bc.flash.xml.AsXMLList result = new bc.flash.xml.AsXMLList();
     AsVector<bc.flash.xml.AsXML> __childs_ = mChildren.list();
     if (__childs_ != null)
     {
         foreach (bc.flash.xml.AsXML child in __childs_)
         {
             if(child.name() == name && child.nodeKind() == nodeKind())
             {
                 result.appendChild(child);
             }
         }
     }
     return result;
 }
 public AsXMLElement(String name)
     : base(name)
 {
     mAttributes = new bc.flash.xml.AsXMLList();
     mChildren = new bc.flash.xml.AsXMLList();
 }
Example #7
0
 public AsXMLElement(String name)
     : base(name)
 {
     mAttributes = new bc.flash.xml.AsXMLList();
     mChildren   = new bc.flash.xml.AsXMLList();
 }
 public override AsXMLList elements(String name)
 {
     if((name == "*"))
     {
         return mChildren;
     }
     AsXMLList result = new AsXMLList();
     AsVector<AsXML> __childs_ = mChildren.list();
     if (__childs_ != null)
     {
         foreach (AsXML child in __childs_)
         {
             if(((child.name() == name) && (child.nodeKind() == nodeKind())))
             {
                 result.appendChild(child);
             }
         }
     }
     return result;
 }