|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.util.html.objects.HTMLObject
public abstract class HTMLObject
Field Summary | |
---|---|
protected java.lang.String[] |
forse_empty_tag_list_
|
Constructor Summary | |
---|---|
HTMLObject(HTMLDocument root)
|
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 |
int |
getNextX()
|
int |
getNextY()
|
abstract javax.swing.JComponent |
getPanel()
|
HTMLDocument |
getRoot()
|
boolean |
isLayouted()
|
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. |
void |
setLayouted(boolean is_layouted)
|
void |
setNextXY(int next_x,
int next_y)
|
boolean |
throwExceptionIfDocumentHasError()
Throw exception if document has error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] forse_empty_tag_list_
Constructor Detail |
---|
public HTMLObject(HTMLDocument root)
Method Detail |
---|
public HTMLDocument getRoot()
public void setLayouted(boolean is_layouted)
public boolean isLayouted()
public int getNextX()
public int getNextY()
public void setNextXY(int next_x, int next_y)
public abstract javax.swing.JComponent getPanel()
public Element allowElement(Element element)
ParserPolicy
allowElement
in interface ParserPolicy
public boolean checkEndTag()
ParserPolicy
checkEndTag
in interface ParserPolicy
public boolean forceEmptyTag(java.lang.String key)
ParserPolicy
forceEmptyTag
in interface ParserPolicy
public ParserPolicy getInnerPolicy(Element element)
ParserPolicy
getInnerPolicy
in interface ParserPolicy
public java.lang.String selectEncoding(java.lang.String last_tag_key)
ParserPolicy
selectEncoding
in interface ParserPolicy
public boolean throwExceptionIfDocumentHasError()
ParserPolicy
throwExceptionIfDocumentHasError
in interface ParserPolicy
public boolean finished()
finished
in interface ParserPolicy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |