java.lang.Object
de.serra.so_dirty.sn.CompoundSnapshotNodeFactory
- Alle implementierten Schnittstellen:
SnapshotNodeFactory
- Bekannte direkte Unterklassen:
DefaultSnapshotNodeFactory
SnapshotNodeFactory that delegates to an inner list of factories.- Autor:
- Peter Lamby
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCompoundSnapshotNodeFactory(SnapshotNodeFactory @Nullable ... inner) Constructs. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidadd(SnapshotNodeFactory factory) Add a factory to the list of factories.booleanDetermines if this Factory is responsible fortype.@Nullable SnapshotNodetoSnapshotNode(Object value) Creates anSnapshotNodeforvalue.
-
Konstruktordetails
-
CompoundSnapshotNodeFactory
Constructs.- Parameter:
inner- The actual factories.
-
-
Methodendetails
-
add
Add a factory to the list of factories.- Parameter:
factory- The factory to add.
-
supports
Beschreibung aus Schnittstelle kopiert:SnapshotNodeFactoryDetermines if this Factory is responsible fortype.- Angegeben von:
supportsin SchnittstelleSnapshotNodeFactory- Parameter:
type- The type.- Gibt zurück:
trueif the type is supported.
-
toSnapshotNode
Beschreibung aus Schnittstelle kopiert:SnapshotNodeFactory- Angegeben von:
toSnapshotNodein SchnittstelleSnapshotNodeFactory- Parameter:
value- The value for which to create an SnapshotNode.- Gibt zurück:
- The created node
-