Class HtmlElementSupplierFactoryAdapter<M extends HtmlElement,T extends HTMLElement<?>>
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.nasdanika.html.model.html.gen.HtmlElementAdapter<M,T>
org.nasdanika.html.model.html.gen.HtmlElementSupplierFactoryAdapter<M,T>
- All Implemented Interfaces:
BiFunction<org.nasdanika.common.Context,,org.nasdanika.common.ProgressMonitor, T> Adapter,Adapter.Internal,org.nasdanika.common.ContextualFactory<org.nasdanika.common.Supplier<T>>,org.nasdanika.common.ExecutionParticipantFactory<org.nasdanika.common.Supplier<T>>,org.nasdanika.common.Factory<org.nasdanika.common.Context,,org.nasdanika.common.Supplier<T>> org.nasdanika.common.SupplierFactory<T>
- Direct Known Subclasses:
TagSupplierFactoryAdapter
public abstract class HtmlElementSupplierFactoryAdapter<M extends HtmlElement,T extends HTMLElement<?>>
extends HtmlElementAdapter<M,T>
implements org.nasdanika.common.SupplierFactory<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.InternalNested classes/interfaces inherited from interface org.nasdanika.common.SupplierFactory
org.nasdanika.common.SupplierFactory.Provider -
Field Summary
Fields inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
adapterFactoryFields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHtmlElementSupplierFactoryAdapter(M htmlElement, AdapterFactory adapterFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.nasdanika.common.Supplier<T>create(org.nasdanika.common.Context context) protected abstract org.nasdanika.common.Supplier<T>createHTMLElementSupplier(org.nasdanika.common.Context context) Creates element from content.booleanisAdapterForType(Object type) Methods inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
createApplyAttributesAndContentFunction, createConfigureFunction, getContent, getRegisteredAdapter, getRootAdapterFactory, getTargetMethods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
notifyChanged, setTarget, unsetTargetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface org.nasdanika.common.SupplierFactory
apply, asFunctionFactory, contextify, then, then
-
Constructor Details
-
HtmlElementSupplierFactoryAdapter
-
-
Method Details
-
isAdapterForType
- Specified by:
isAdapterForTypein interfaceAdapter- Overrides:
isAdapterForTypein classAdapterImpl
-
createHTMLElementSupplier
protected abstract org.nasdanika.common.Supplier<T> createHTMLElementSupplier(org.nasdanika.common.Context context) Creates element from content.- Parameters:
context-- Returns:
-
create
- Specified by:
createin interfaceorg.nasdanika.common.Factory<M extends HtmlElement,T extends HTMLElement<?>>
-