|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParserPolicy
Method Summary | |
---|---|
Element |
allowElement(Element element)
called when element is detected. |
boolean |
checkEndTag()
if true, check open tag key and close tag key. |
boolean |
finished()
|
boolean |
forceEmptyTag(java.lang.String key)
Basicly, all the tag must open and close. |
ParserPolicy |
getInnerPolicy(Element element)
return handler that handle this element |
java.lang.String |
selectEncoding(java.lang.String last_tag_key)
if encoding cannot be detected by first line of document, this method will be called. |
boolean |
throwExceptionIfDocumentHasError()
Throw exception if document has error. |
Method Detail |
---|
boolean throwExceptionIfDocumentHasError()
boolean checkEndTag()
java.lang.String selectEncoding(java.lang.String last_tag_key)
boolean forceEmptyTag(java.lang.String key)
ParserPolicy getInnerPolicy(Element element)
Element allowElement(Element element)
boolean finished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |