Exemplo n.º 1
0
        private XMLList Children()
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in m_Nodes)
            {
                list.AddRange(xml.Children());
            }
            return(list);
        }
Exemplo n.º 2
0
        internal XMLList GetPropertyList(XMLName xmlName)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in m_Nodes)
            {
                list.AddRange(xml.GetPropertyList(xmlName));
            }
            return(list);
        }
Exemplo n.º 3
0
        /// <summary>
        /// XMLList.prototype.processingInstructions ( [ name ] )
        ///
        /// The processingInstructions method calls the processingInstructions
        /// method of each XML object in this XMLList object passing the optional
        /// parameter name (or "*" if it is omitted) and returns an XMList
        /// containing the results in order.
        ///
        /// See ECMA
        /// </summary>
        private XMLList ProcessingInstructions(XMLName name)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.ProcessingInstructions(name));
            }
            return(list);
        }
Exemplo n.º 4
0
        /// <summary>
        /// XMLList.prototype.child ( propertyName )
        ///
        /// The child method calls the child() method of each XML object in
        /// this XMLList object and returns an XMLList containing the results
        /// in order.
        ///
        /// See ECMA 13.5.4.4
        /// </summary>
        private XMLList Child(XMLName xmlName)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.Child(xmlName));
            }
            return(list);
        }
Exemplo n.º 5
0
        private XMLList Child(long index)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.Child(index));
            }
            return(list);
        }
Exemplo n.º 6
0
        private XMLList Attributes()
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.Attributes());
            }
            return(list);
        }
Exemplo n.º 7
0
        private XMLList Descendants(XMLName xmlName)
        {
            XMLList list = new XMLList(lib);

            foreach (XML xml in this)
            {
                list.AddRange(xml.Descendants(xmlName));
            }
            return(list);
        }
Exemplo n.º 8
0
        protected internal override object GetXMLProperty(XMLName name)
        {
            if (isPrototype)
            {
                return(base.Get(name.localName, this));
            }

            XMLList list = new XMLList(lib);

            foreach (XML xml in m_Nodes)
            {
                list.AddRange((XMLList)xml.GetXMLProperty(name));
            }
            return(list);
        }
Exemplo n.º 9
0
 /// <summary>
 /// XMLList.prototype.processingInstructions ( [ name ] )
 /// 
 /// The processingInstructions method calls the processingInstructions
 /// method of each XML object in this XMLList object passing the optional
 /// parameter name (or "*" if it is omitted) and returns an XMList
 /// containing the results in order.
 /// 
 /// See ECMA 
 /// </summary>
 private XMLList ProcessingInstructions (XMLName name)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this) {
         list.AddRange (xml.ProcessingInstructions (name));
     }
     return list;
 }
Exemplo n.º 10
0
 private XMLList Child (long index)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this)
         list.AddRange (xml.Child (index));
     return list;
 }
Exemplo n.º 11
0
 internal XMLList GetPropertyList (XMLName xmlName)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in m_Nodes) {
         list.AddRange (xml.GetPropertyList (xmlName));
     }
     return list;
 }
Exemplo n.º 12
0
 /// <summary>
 /// XMLList.prototype.child ( propertyName )
 /// 
 /// The child method calls the child() method of each XML object in
 /// this XMLList object and returns an XMLList containing the results
 /// in order.
 /// 
 /// See ECMA 13.5.4.4
 /// </summary>
 private XMLList Child (XMLName xmlName)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this)
         list.AddRange (xml.Child (xmlName));
     return list;
 }
Exemplo n.º 13
0
 private XMLList Descendants (XMLName xmlName)
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this)
         list.AddRange (xml.Descendants (xmlName));
     return list;
 }
Exemplo n.º 14
0
        protected internal override object GetXMLProperty (XMLName name)
        {
            if (isPrototype) {
                return base.Get (name.localName, this);
            }

            XMLList list = new XMLList (lib);
            foreach (XML xml in m_Nodes) {
                list.AddRange ((XMLList)xml.GetXMLProperty (name));
            }
            return list;
        }
Exemplo n.º 15
0
 private XMLList Attributes ()
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in this)
         list.AddRange (xml.Attributes ());
     return list;
 }
Exemplo n.º 16
0
 private XMLList Children ()
 {
     XMLList list = new XMLList (lib);
     foreach (XML xml in m_Nodes) {
         list.AddRange (xml.Children ());
     }
     return list;
 }