Class
Instance Methods
lib/xmlrpc/parser.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/parser.rb, line 25
def [] (index)
@children[index]
end
No documentation available
lib/xmlrpc/parser.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/parser.rb, line 19
def childNodes
@children
end
No documentation available
lib/xmlrpc/parser.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/parser.rb, line 22
def hasChildNodes
not @children.empty?
end
No documentation available
#
lib/xmlrpc/parser.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/parser.rb, line 42
def nodeName
#TODO: error when wrong Entity-type
@entity.name
end
No documentation available
#
lib/xmlrpc/parser.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/parser.rb, line 29
def nodeType
if @entity.instance_of? NQXML::Text then :TEXT
elsif @entity.instance_of? NQXML::Comment then :COMMENT
#elsif @entity.instance_of? NQXML::Element then :ELEMENT
elsif @entity.instance_of? NQXML::Tag then :ELEMENT
else :ELSE
end
end
No documentation available
lib/xmlrpc/parser.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/parser.rb, line 38
def nodeValue
#TODO: error when wrong Entity-type
@entity.text
end
No documentation available
lib/xmlrpc/parser.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/parser.rb, line 16
def removeChild(node)
@children.delete(node)
end
No documentation available