|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITocEntryFactory<T extends TocEntryObject>
A ITocEntryFactory implementation is used to load TocEntryObjects of a given type
identified by their XML tag.
To make a ITocEntryFactory available during design time, it has to be registered with the
org.faktorips.devtools.stdbuilder.tocEntryFactory extension point.
At runtime, the extension point mechanism is not available, instead the ServiceLoader is
used. For the ServiceLoader to find the implementation, the full qualified name of the
implementation class must be specified in the file
META-INF/services/org.faktorips.runtime.internal.toc.ITocEntryFactory.
The file and the implementation class must be accessible by the ClassLoader
provided to the AbstractReadonlyTableOfContents's constructor.
| Method Summary | |
|---|---|
T |
createFromXml(Element entryElement)
Creates a TocEntryObject from it's XML representation. |
String |
getXmlTag()
Returns the XML tag identifying a TocEntryObject this factory can create. |
| Method Detail |
|---|
T createFromXml(Element entryElement)
TocEntryObject from it's XML representation.
entryElement - the XML element representing the TocEntryObject
TocEntryObjectString getXmlTag()
TocEntryObject this factory can create.
TocEntryObject this factory can create
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||