| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.extension.ExtensionProcessorPlugin
oracle.ide.extension.PropertiesExtensionProcessorPlugin
public class PropertiesExtensionProcessorPlugin
An ExtensionProcessorPlugin based on a properties file. Property
 values which appear to be file URLs--which start with "file:"--are resolved
 relative to the property file.
| Constructor Summary | |
|---|---|
| PropertiesExtensionProcessorPlugin(java.io.File file) | |
| Method Summary | |
|---|---|
|  java.lang.String | expandValue(ExtensionProcessorContext context,
            java.lang.String macroName)Expands a macro encountered while processing an extension manifest. | 
|  java.util.Set<java.lang.String> | getSupportedMacros(ExtensionProcessorContext context)Returns a Set of macro names which are supported in the specified extension processing context. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public PropertiesExtensionProcessorPlugin(java.io.File file)
| Method Detail | 
|---|
public java.util.Set<java.lang.String> getSupportedMacros(ExtensionProcessorContext context)
ExtensionProcessorPluginExtension manifests can contain macro usages in any attribute value or text node. The syntax of a macro usage is
${macroname}.An ExtensionProcessorPlugin may provide logic to expand macros in the extension manifest. The plugin should return a collection of supported macro names from this method.
 
 While processing manifest files, the 
 ExtensionProcessorPlugin.expandValue(ExtensionProcessorContext,String) method will be 
 called for each occurrence of macros supported by this plugin.
Macro names ending with a colon (:) are macro namespaces. These can be used to implement dynamic macros, such as sysprop:some.property.
This implementation returns an empty set. Will never be null.
getSupportedMacros in class ExtensionProcessorPlugincontext - the extension processing context.
public java.lang.String expandValue(ExtensionProcessorContext context,
                                    java.lang.String macroName)
ExtensionProcessorPluginYou should take care to optimize the performance of this method, since it will be called every time a macro encountered in the extension manifest needs to be expanded.
This implementation returns null.
expandValue in class ExtensionProcessorPlugincontext - the extension processing context. Will never be null.macroName - the name of the macro to expand.
public java.lang.String toString()
toString in class java.lang.Object| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||