public class UnknownElement extends Object implements FutureElement
Modifier and Type | Field and Description |
---|---|
static FutureElementType |
TYPE
UnknownElement type.
|
Constructor and Description |
---|
UnknownElement() |
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.
|
public static final FutureElementType TYPE
public boolean onTagStart(String tag, FutureParserContext ctx) throws IOException, HttpErrorPage
FutureElement
onTagStart
in interface FutureElement
tag
- The tagctx
- The parser contextIOException
HttpErrorPage
public void onTagEnd(String tag, FutureParserContext ctx) throws IOException, HttpErrorPage
FutureElement
onTagEnd
in interface FutureElement
tag
- The tagIOException
HttpErrorPage
public boolean onError(Exception e, FutureParserContext ctx)
onError
in interface FutureElement
true
if error has been handled by this element and it should not be propagated further.public void characters(Future<CharSequence> csq) throws IOException
FutureElement
characters
in interface FutureElement
IOException
public FutureElement getParent()
FutureElement
getParent
in interface FutureElement
Copyright © 2008–2018. All rights reserved.