JavaScript is disabled on your browser.
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3) E41664-01
java.lang.Object
oracle.ide.extension.macros.ExtensionMacroByPrefix
Method Summary
Methods
Modifier and Type
Method and Description
boolean
canExpandMacro (java.lang.String unexpandedMacro,
ElementContext elementContext)
Answers whether this unexpanded macro may be handled by this extension macro.
abstract java.lang.String
getPrefix ()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail
canExpandMacro
public boolean canExpandMacro(java.lang.String unexpandedMacro,
ElementContext elementContext)
Answers whether this unexpanded macro may be handled by this extension macro.
If this method returns true
then ExtensionMacro#expandMacro(String)
will be called.
Specified by:
canExpandMacro
in interface ExtensionMacro
Parameters: unexpandedMacro
- the unexpanded macroelementContext
- the extension traversal element context
Returns: whether this extension macro can expand
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3) E41664-01
Copyright © 1997, 2014, Oracle. All rights reserved.