Class: Nokogiri::XML::SAX::Parser::Attribute

Inherits:
Struct
  • Object
show all
Defined in:
lib/nokogiri/xml/sax/parser.rb

Overview

Structure used for marshalling attributes for some callbacks in XML::SAX::Document.

Instance Attribute Summary collapse

Instance Attribute Details

#localnameObject

Returns the value of attribute localname

Returns:

  • (Object)

    the current value of localname



43
44
45
# File 'lib/nokogiri/xml/sax/parser.rb', line 43

def localname
  @localname
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



43
44
45
# File 'lib/nokogiri/xml/sax/parser.rb', line 43

def prefix
  @prefix
end

#uriObject

Returns the value of attribute uri

Returns:

  • (Object)

    the current value of uri



43
44
45
# File 'lib/nokogiri/xml/sax/parser.rb', line 43

def uri
  @uri
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



43
44
45
# File 'lib/nokogiri/xml/sax/parser.rb', line 43

def value
  @value
end