org.jsoup
Interface Connection.KeyVal

All Known Implementing Classes:
HttpConnection.KeyVal
Enclosing interface:
Connection

public static interface Connection.KeyVal

A Key Value tuple.


Method Summary
 String key()
          Get the key of a keyval
 Connection.KeyVal key(String key)
          Update the key of a keyval
 String value()
          Get the value of a keyval
 Connection.KeyVal value(String value)
          Update the value of a keyval
 

Method Detail

key

Connection.KeyVal key(String key)
Update the key of a keyval

Parameters:
key - new key
Returns:
this KeyVal, for chaining

key

String key()
Get the key of a keyval

Returns:
the key

value

Connection.KeyVal value(String value)
Update the value of a keyval

Parameters:
value - the new value
Returns:
this KeyVal, for chaining

value

String value()
Get the value of a keyval

Returns:
the value


Copyright © 2009-2011 Jonathan Hedley. All Rights Reserved.