Class: ApkXml::XmlTreeHeader

Inherits:
Struct
  • Object
show all
Defined in:
lib/apktools/apkxml.rb

Overview

Structure defining header of an XML node

XmlTreeHeader = Struct.new(:header, :line_num, :comment)

  • header = ChunkHeader

  • line_num = Line number in original file

  • comment = Optional comment

Instance Attribute Summary collapse

Instance Attribute Details

#commentObject

Returns the value of attribute comment

Returns:

  • (Object)

    the current value of comment



63
64
65
# File 'lib/apktools/apkxml.rb', line 63

def comment
  @comment
end

#headerObject

Returns the value of attribute header

Returns:

  • (Object)

    the current value of header



63
64
65
# File 'lib/apktools/apkxml.rb', line 63

def header
  @header
end

#line_numObject

Returns the value of attribute line_num

Returns:

  • (Object)

    the current value of line_num



63
64
65
# File 'lib/apktools/apkxml.rb', line 63

def line_num
  @line_num
end