public interface FutureElement
This class is based on Element
Element
Modifier and Type | Method and Description |
---|---|
void |
characters(Future<CharSequence> csq)
Method called by the parser when it finds characters between starting and closing tags.
|
FutureElement |
getParent()
Get the parent element of this element.
|
boolean |
onError(Exception e,
FutureParserContext ctx) |
void |
onTagEnd(String tag,
FutureParserContext ctx)
Method called by the parser when it finds the matching closing tag.
|
boolean |
onTagStart(String tag,
FutureParserContext ctx)
Method called by the parser when it finds an opening tag.
|
boolean onTagStart(String tag, FutureParserContext ctx) throws IOException, HttpErrorPage
tag
- The tagctx
- The parser contextIOException
HttpErrorPage
void onTagEnd(String tag, FutureParserContext ctx) throws IOException, HttpErrorPage
tag
- The tagctx
- IOException
HttpErrorPage
boolean onError(Exception e, FutureParserContext ctx)
e
- ctx
- true
if error has been handled by this element and it should not be propagated further.void characters(Future<CharSequence> csq) throws IOException
csq
- IOException
FutureElement getParent()
Copyright © 2008–2018. All rights reserved.