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
ClientException
Set<String> props() throws ClientException
prop(String)
ClientException
Items link(String rel) throws ClientException
ClientException
Items link() throws ClientException
ClientException
Items form(String rel) throws ClientException
ClientException
Items form() throws ClientException
ClientException
String text() throws ClientException
ClientException
boolean bool() throws ClientException
ClientException
int number() throws ClientException
ClientException
String href()
String src()
Document follow() throws ClientException
Document
representationClientException
Document submit(Iterable<org.apache.http.NameValuePair> data) throws ClientException
Document
representationClientException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.