|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElementVisitorFactory2
New version of ElementVisitorFactory. This new implementation has an overloaded version of getElementVisitor() that takes an ElementContext corresponding to the parent element.
If an ElementVisitorFactory is registered with ElementContext#registerVisitorFactory(ElementVisitorFactory) and also implements ElementVisitorFactory2, then the getVisitor(ElementContext,ElementName)
will be used in preference to ElementVisitorFactory.getVisitor(ElementName)
.
Method Summary | |
---|---|
ElementVisitor |
getVisitor(ElementContext context, ElementName name) Get a suitable visitor for the specified element name. |
boolean |
isDescending() Returns true if this visitor factory supports descending through all children of the element for which it was registered. |
Methods inherited from interface javax.ide.extension.ElementVisitorFactory |
---|
getVisitor |
Method Detail |
---|
boolean isDescending()
ElementVisitor getVisitor(ElementContext context, ElementName name) throws UnrecognizedElementException
context
- the current context.name
- a qualified element name.UnrecognizedElementException
- if the factory does not recognize the element and this should be raised as an error.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |