|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.text.html.HTMLDocument.HTMLReader.TagAction
public class HTMLDocument.HTMLReader.TagAction
An action to be performed in response to parsing a tag. This allows customization of how each tag is handled and avoids a large switch statement.
Constructor Summary | |
---|---|
HTMLDocument.HTMLReader.TagAction()
|
Method Summary | |
---|---|
void |
end(HTML.Tag t)
Called when an end tag is seen for the type of tag this action was registered to. |
void |
start(HTML.Tag t,
MutableAttributeSet a)
Called when a start tag is seen for the type of tag this action was registered to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLDocument.HTMLReader.TagAction()
Method Detail |
---|
public void start(HTML.Tag t, MutableAttributeSet a)
public void end(HTML.Tag t)
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.