Results for: "Logger"

Superclass of IMAP errors.

Error raised when data is in the incorrect format.

Error raised when a response from the server is non-parseable.

Superclass of all errors used to encapsulate “fail” responses from the server.

Error raised upon a “NO” response from the server, indicating that the client command could not be completed successfully.

Error raised upon a “BAD” response from the server, indicating that the client command violated the IMAP protocol, or an internal server failure has occurred.

Error raised upon an unknown response from the server.

Error raised when too many flags are interned to symbols.

No documentation available

Indicates that the DNS response was unable to be decoded.

Indicates that the DNS request was unable to be encoded.

A DNS query abstract class.

No documentation available

Using the Pull Parser

This API is experimental, and subject to change.

parser = PullParser.new( "<a>text<b att='val'/>txet</a>" )
while parser.has_next?
  res = parser.next
  puts res[1]['att'] if res.start_tag? and res[0] == 'b'
end

See the PullEvent class for information on the content of the results. The data is identical to the arguments passed for the various events to the StreamListener API.

Notice that:

parser = PullParser.new( "<a>BAD DOCUMENT" )
while parser.has_next?
  res = parser.next
  raise res[1] if res.error?
end

Nat Price gave me some good ideas for the API.

No documentation available

Using the Pull Parser

This API is experimental, and subject to change.

parser = PullParser.new( "<a>text<b att='val'/>txet</a>" )
while parser.has_next?
  res = parser.next
  puts res[1]['att'] if res.start_tag? and res[0] == 'b'
end

See the PullEvent class for information on the content of the results. The data is identical to the arguments passed for the various events to the StreamListener API.

Notice that:

parser = PullParser.new( "<a>BAD DOCUMENT" )
while parser.has_next?
  res = parser.next
  raise res[1] if res.error?
end

Nat Price gave me some good ideas for the API.

SAX2Parser

No documentation available
No documentation available
No documentation available

You don’t want to use this class. Really. Use XPath, which is a wrapper for this class. Believe me. You don’t want to poke around in here. There is strange, dark magic at work in this code. Beware. Go back! Go back while you still can!

No documentation available
No documentation available
No documentation available
No documentation available
Search took: 3ms  ·  Total Results: 2442