|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.ide.extension.ElementVisitor
ElementVisitor is responsible for visiting elements in an XML file processed by an XML parser used by a JSR-198 compatible IDE. Implementations of this class usually provide an implementation for the start() and end() methods.
| Field Summary | |
static java.lang.String |
KEY_LOCATOR
A key that provides information about the position in the manifest file currently being processed. |
| Constructor Summary | |
ElementVisitor()
|
|
| Method Summary | |
void |
end(ElementEndContext context)
Visit the end tag of an xml element. |
protected void |
log(ElementContext context,
java.util.logging.Level level,
java.lang.String msg)
Log a message. |
void |
start(ElementStartContext context)
Visit the start tag of an xml element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String KEY_LOCATOR
You should always check whether the locator is null, since it is not required that every IDE provide a Locator in the parsing context.
| Constructor Detail |
public ElementVisitor()
| Method Detail |
protected final void log(ElementContext context,
java.util.logging.Level level,
java.lang.String msg)
context - the current context.level - the level to log at.msg - the message to log.public void start(ElementStartContext context)
This implementation does nothing.
context - information about the xml start tag.public void end(ElementEndContext context)
This implementation does nothing.
context - information about the xml end tag.
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.