org.apache.abdera.ext.html
Class HtmlHelper
java.lang.Object
org.apache.abdera.ext.html.HtmlHelper
public class HtmlHelper
- extends Object
Method Summary |
static List<Element> |
discoverLinks(Abdera abdera,
String uri,
String type,
String... rel)
|
static List<Element> |
discoverLinks(Element base,
String type,
String... rel)
This will search the element tree for elements named "link" with a rel attribute containing the value of rel and
a type attribute containg the value of type. |
static List<Element> |
discoverLinks(String uri,
String type,
String... rel)
|
static Div |
parse(Abdera abdera,
InputStream in)
|
static Div |
parse(Abdera abdera,
InputStream in,
String charset)
|
static Div |
parse(Abdera abdera,
Reader in)
|
static Div |
parse(Abdera abdera,
String value)
|
static Div |
parse(InputStream in)
|
static Div |
parse(InputStream in,
String charset)
|
static Div |
parse(Reader in)
|
static Div |
parse(String value)
|
static Document<Element> |
parseDocument(Abdera abdera,
Reader in)
|
static Document<Element> |
parseDocument(Reader in)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parse
public static Div parse(String value)
parse
public static Div parse(InputStream in)
parse
public static Div parse(InputStream in,
String charset)
parse
public static Div parse(Reader in)
parse
public static Div parse(Abdera abdera,
String value)
parse
public static Div parse(Abdera abdera,
InputStream in)
parse
public static Div parse(Abdera abdera,
InputStream in,
String charset)
parse
public static Div parse(Abdera abdera,
Reader in)
parseDocument
public static Document<Element> parseDocument(Reader in)
parseDocument
public static Document<Element> parseDocument(Abdera abdera,
Reader in)
discoverLinks
public static List<Element> discoverLinks(Element base,
String type,
String... rel)
- This will search the element tree for elements named "link" with a rel attribute containing the value of rel and
a type attribute containg the value of type.
discoverLinks
public static List<Element> discoverLinks(String uri,
String type,
String... rel)
throws IOException
- Throws:
IOException
discoverLinks
public static List<Element> discoverLinks(Abdera abdera,
String uri,
String type,
String... rel)
throws IOException
- Throws:
IOException
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.