Class: Awsum::Parser
Overview
Direct Known Subclasses
Ec2::AddressParser, Ec2::AvailabilityZoneParser, Ec2::ImageParser, Ec2::InstanceParser, Ec2::KeyPairParser, Ec2::PurchaseReservedInstancesOfferingParser, Ec2::RegionParser, Ec2::RegisterImageParser, Ec2::ReservedInstanceParser, Ec2::ReservedInstancesOfferingParser, Ec2::SecurityGroupParser, Ec2::SnapshotParser, Ec2::TagParser, Ec2::VolumeParser, Error::ErrorParser, S3::BucketParser, S3::ObjectParser
Instance Method Summary
collapse
Instance Method Details
#parse(xml_text) ⇒ Object
5
6
7
8
|
# File 'lib/awsum/parser.rb', line 5
def parse(xml_text)
REXML::Document.parse_stream(xml_text, self)
result
end
|
– Methods to be overridden by each Parser implementation
12
|
# File 'lib/awsum/parser.rb', line 12
def result ; end
|
#tag_end(tag) ⇒ Object
15
|
# File 'lib/awsum/parser.rb', line 15
def tag_end(tag) ; end
|
#tag_start(tag, attributes) ⇒ Object
13
|
# File 'lib/awsum/parser.rb', line 13
def tag_start(tag, attributes) ; end
|
#text(text) ⇒ Object
14
|
# File 'lib/awsum/parser.rb', line 14
def text(text) ; end
|
#xmldecl(*args) ⇒ Object
16
|
# File 'lib/awsum/parser.rb', line 16
def xmldecl(*args) ; end
|