|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.ide.extension.ElementVisitor javax.ide.extension.ExtensionHook javax.ide.extension.DOMHook
public abstract class DOMHook
An extension hook that builds a DOM tree. The subclass must implement the
getRootElementName()
method and return an ElementName
for
the root element. This should match the ElementName
this hook is
registered for.
After extension hooks have been processed, call the getRootElement()
method to get a DOM Element
.
Field Summary |
---|
Fields inherited from class javax.ide.extension.ExtensionHook |
---|
KEY_EXTENSION, KEY_RSBUNDLE_CLASS, MANIFEST_XMLNS |
Fields inherited from class javax.ide.extension.ElementVisitor |
---|
KEY_LOCATOR |
Constructor Summary | |
---|---|
DOMHook()
|
Method Summary | |
---|---|
void |
end(ElementEndContext context)
Visit the end tag of an xml element. |
org.w3c.dom.Element |
getRootElement()
Returns the root element of the DOM tree built using this hook. |
protected abstract ElementName |
getRootElementName()
Gets the root element name to use. |
void |
start(ElementStartContext context)
Visit the start tag of an xml element. |
Methods inherited from class javax.ide.extension.ExtensionHook |
---|
findPath, getExtension, getProvider, getRSBundleClass, getSchemaLocation, resolvePath, setProvider, setSchemaLocation |
Methods inherited from class javax.ide.extension.ElementVisitor |
---|
getClassLoader, getResourceBundle, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMHook()
Method Detail |
---|
public org.w3c.dom.Element getRootElement()
public void start(ElementStartContext context)
ElementVisitor
This implementation does nothing.
start
in class ElementVisitor
context
- information about the xml start tag.public void end(ElementEndContext context)
ElementVisitor
This implementation does nothing.
end
in class ElementVisitor
context
- information about the xml end tag.protected abstract ElementName getRootElementName()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |