Constructor and Description |
---|
UnknownElement() |
Modifier and Type | Method and Description |
---|---|
void |
characters(CharSequence csq,
int start,
int end)
Method called by the parser when it finds characters between starting and closing tags.
|
boolean |
onError(Exception e,
ParserContext ctx) |
void |
onTagEnd(String tag,
ParserContext ctx)
Method called by the parser when it finds the matching closing tag.
|
boolean |
onTagStart(String tag,
ParserContext ctx)
Method called by the parser when it finds an opening tag.
|
public boolean onTagStart(String tag, ParserContext ctx) throws IOException, HttpErrorPage
Element
onTagStart
in interface Element
tag
- The tagctx
- The parser contextIOException
HttpErrorPage
public void onTagEnd(String tag, ParserContext ctx) throws IOException, HttpErrorPage
Element
onTagEnd
in interface Element
tag
- The tagIOException
HttpErrorPage
public boolean onError(Exception e, ParserContext ctx)
public void characters(CharSequence csq, int start, int end) throws IOException
Element
characters
in interface Element
csq
- the CharSequence
to appendstart
- the start index in the CharSequence
. Allows to append only a subset of the
CharSequence
.end
- the end index in the CharSequence
. Allows to append only a subset of the CharSequence
.IOException
Copyright © 2008–2018. All rights reserved.