Class: NQXML::Node
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/xmlrpc/parser.rb |
Instance Method Summary
Instance Method Details
#[](index)
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 25
def [] (index) @children[index] end
#childNodes
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 19
def childNodes @children end
#hasChildNodes
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 22
def hasChildNodes not @children.empty? end
#nodeName
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 42
def nodeName #TODO: error when wrong Entity-type @entity.name end
#nodeType
[ GitHub ]#nodeValue
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 38
def nodeValue #TODO: error when wrong Entity-type @entity.text end
#removeChild(node)
[ GitHub ]# File 'lib/xmlrpc/parser.rb', line 16
def removeChild(node) @children.delete(node) end