public interface Item
| Modifier and Type | Method and Description |
|---|---|
boolean |
bool()
Returns he boolean value of the property
|
Document |
follow()
Follow a hyperlink and get a new
Document representation |
Items |
form()
Returns all the child forms
|
Items |
form(String rel)
Returns the child forms that have the given relation
|
String |
href()
Returns the href value of the property.
|
Items |
link()
Returns all the child links
|
Items |
link(String rel)
Returns the child links that have the given relation
|
int |
number() |
Items |
prop(String name)
Returns the property of the item having the given name.
|
Set<String> |
props()
Return a List of all the properties of this item.
|
String |
src()
Returns the src value of the property.
|
Document |
submit(Iterable<org.apache.http.NameValuePair> data)
Submits this form item and returns a new
Document representation |
String |
text()
Returns the text value of the property.
|
Items prop(String name) throws ClientException
ClientExceptionSet<String> props() throws ClientException
prop(String)ClientExceptionItems link(String rel) throws ClientException
ClientExceptionItems link() throws ClientException
ClientExceptionItems form(String rel) throws ClientException
ClientExceptionItems form() throws ClientException
ClientExceptionString text() throws ClientException
ClientExceptionboolean bool()
throws ClientException
ClientExceptionint number()
throws ClientException
ClientExceptionString href()
String src()
Document follow() throws ClientException
Document representationClientExceptionDocument submit(Iterable<org.apache.http.NameValuePair> data) throws ClientException
Document representationClientExceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.