コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #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);
        }
コード例 #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);
        }
コード例 #5
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<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;
 }
コード例 #6
0
 public virtual bc.flash.xml.AsXML appendAttribute(String name, String _value)
 {
     return(mAttributes.appendChild(new AsXMLAttribute(name, _value)));
 }
コード例 #7
0
 public override bc.flash.xml.AsXML appendChild(bc.flash.xml.AsXML child)
 {
     return(mChildren.appendChild(child));
 }
コード例 #8
0
 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;
 }