java.lang.Object
javax.ide.extension.ElementVisitor
javax.ide.extension.ExtensionHook
- Direct Known Subclasses:
- DynamicHook
- public abstract class ExtensionHook
- extends ElementVisitor
An extension hook is responsible for processing information from the
extension manifest for a particular feature and making this information
available to the service responsible for managing the functionality
provided by the hook.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_EXTENSION
public static final java.lang.String KEY_EXTENSION
- See Also:
- Constant Field Values
KEY_RSBUNDLE_CLASS
public static final java.lang.String KEY_RSBUNDLE_CLASS
- See Also:
- Constant Field Values
MANIFEST_XMLNS
public static final java.lang.String MANIFEST_XMLNS
- The XML namespace for a JSR-198 extension manifest.
- See Also:
- Constant Field Values
ExtensionHook
public ExtensionHook()
getRSBundleClass
protected final java.lang.String getRSBundleClass(ElementContext context)
getExtension
protected final Extension getExtension(ElementContext context)
- Get the extension that is currently being processed.
resolvePath
protected final java.net.URI resolvePath(ElementContext context,
java.lang.String path)
- Resolve a path in the manifest. Paths depend on the source of the
extension being processed. For JAR files, if the path starts with a
forward slash (/), it is a path inside the JAR file. Otherwise, it is a
path relative to the physical location of the JAR file.