From: Jan T. <de...@us...> - 2002-04-08 21:30:59
|
Update of /cvsroot/net-script/netscript2/src/perl/XML/DOM2 In directory usw-pr-cvs1:/tmp/cvs-serv2838 Modified Files: Document.pm Log Message: * improved documentation Index: Document.pm =================================================================== RCS file: /cvsroot/net-script/netscript2/src/perl/XML/DOM2/Document.pm,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Document.pm 17 Mar 2002 19:26:14 -0000 1.4 --- Document.pm 8 Apr 2002 21:30:53 -0000 1.5 *************** *** 88,92 **** # can then be set on an element using the setAttributeNode method. # @param a hash reference containing the following key-value-pairs: ! # name - the name of the attribute. # @return an instance of XML::DOM2::Attr # @public --- 88,92 ---- # can then be set on an element using the setAttributeNode method. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>name - the name of the attribute.</li></ul> # @return an instance of XML::DOM2::Attr # @public *************** *** 107,112 **** # Creates an attribute of the given qualified name and namespace URI. # @param a hash reference containing the following key-value-pairs: ! # namespaceURI - the namespace URI of the attribute ! # qualifiedName - the qualified name of the attribute # @return an instance of XML::DOM2::Attr # @public --- 107,112 ---- # Creates an attribute of the given qualified name and namespace URI. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>namespaceURI - the namespace URI of the attribute</li> ! # <li>qualifiedName - the qualified name of the attribute</li></ul> # @return an instance of XML::DOM2::Attr # @public *************** *** 164,168 **** # Creates a CDATASection node whose value is the specified String. # @param a hash reference containing the following key-value-pairs: ! # data - the data for the CDATASection contents. # @return an instance of XML::DOM2::CDATASection # @public --- 164,168 ---- # Creates a CDATASection node whose value is the specified String. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>data - the data for the CDATASection contents.</li></ul> # @return an instance of XML::DOM2::CDATASection # @public *************** *** 179,183 **** # Creates a Comment node given the specified String. # @param a hash reference containing the following key-value-pairs: ! # data - the data for the node. # @return an instance of XML::DOM2::Comment # @public --- 179,183 ---- # Creates a Comment node given the specified String. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>data - the data for the node.</li></ul> # @return an instance of XML::DOM2::Comment # @public *************** *** 209,213 **** # directly on the returned object. # @param a hash reference containing the following key-value-pairs: ! # tagName - the name of the element type to instantiate. # @return an instance of XML::DOM2::Element # @public --- 209,213 ---- # directly on the returned object. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>tagName - the name of the element type to instantiate.</li></ul> # @return an instance of XML::DOM2::Element # @public *************** *** 229,234 **** # Creates an element of the given qualified name and namespaceURI # @param a hash reference containing the following key-value-pairs: ! # namespaceURI - the namespace URI of the element to create ! # qualifiedName - the qualified name of the element type to instantiate # @return an instance of XML::DOM2::Element # @public --- 229,234 ---- # Creates an element of the given qualified name and namespaceURI # @param a hash reference containing the following key-value-pairs: ! # <ul><li>namespaceURI - the namespace URI of the element to create</li> ! # <li>qualifiedName - the qualified name of the element type to instantiate</li></ul> # @return an instance of XML::DOM2::Element # @public *************** *** 290,294 **** # of the corresponding Entity node. # @param a hash reference containing the following key-value-pairs: ! # name - the name of the entity to reference. # @return an instance of XML::DOM2::EntityReference # @public --- 290,294 ---- # of the corresponding Entity node. # @param a hash reference containing the following key-value-pairs: ! # <ul><li> name - the name of the entity to reference.</li></ul> # @return an instance of XML::DOM2::EntityReference # @public *************** *** 310,315 **** # name and data strings. # @param a hash reference containing the following key-value-pairs: ! # target - the target part of the processing instruction ! # data - the data for the node # @return an instance of XML::DOM2::ProcessingInstruction # @public --- 310,315 ---- # name and data strings. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>target - the target part of the processing instruction</li> ! # <li>data - the data for the node</li></ul> # @return an instance of XML::DOM2::ProcessingInstruction # @public *************** *** 328,332 **** # Creates a new text node given the specified string. # @param a hash reference containing the following key-value-pairs ! # data - the data for the node # @return an instance of XML::DOM2::Text # @public --- 328,332 ---- # Creates a new text node given the specified string. # @param a hash reference containing the following key-value-pairs ! # <ul><li>data - the data for the node</li></ul> # @return an instance of XML::DOM2::Text # @public *************** *** 358,362 **** # document tree. # @param a hash reference containing the following key-value-pairs: ! # tagname - the name of the tag to match on. "*" matches all tags. # @return an instance of XML::DOM2::NodeList # @public --- 358,362 ---- # document tree. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>tagname - the name of the tag to match on. "*" matches all tags.</li></ul> # @return an instance of XML::DOM2::NodeList # @public *************** *** 378,385 **** # and namspace URI. # @param a hash reference containing the following key-value-pairs: ! # namespaceURI - the namsepace URI of the elements to match on ! # "*" matches all namespaces ! # localName - the localName of the elements to match on. ! # "*" matches all local names. # @return an instance of XML::DOM2::NodeList # @public --- 378,385 ---- # and namspace URI. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>namespaceURI - the namsepace URI of the elements to match on ! # "*" matches all namespaces</li> ! # <li>localName - the localName of the elements to match on. ! # "*" matches all local names.</li></ul> # @return an instance of XML::DOM2::NodeList # @public *************** *** 399,407 **** # Imports a node from another document to this document. # @param a hash reference containing the following key-value-pairs: ! # importedNode - the node to import ! # deep - imports the subtree if set to non-zero (except for Attr-Nodes ! # which always import their subtree). # @note: importing is limited to nodes which can be cloned by this # implementation. #*/ sub importNode { --- 399,408 ---- # Imports a node from another document to this document. # @param a hash reference containing the following key-value-pairs: ! # <ul><li>importedNode - the node to import</li> ! # <li>deep - imports the subtree if set to non-zero (except for Attr-Nodes ! # which always import their subtree)</li></ul>. # @note: importing is limited to nodes which can be cloned by this # implementation. + # @return the imported node #*/ sub importNode { |