- Alle bekannten Implementierungsklassen:
ArraySnapshotNodeFactory,ClassSnapshotNodeFactory,CompoundSnapshotNodeFactory,DefaultSnapshotNodeFactory,IgnoreSnapshotNodeFactory,MapSnapshotNodeFactory,ReferenceSnapshotNodeFactory
public interface SnapshotNodeFactory
Creates a
SnapshotNode based on values.- Autor:
- Peter Lamby
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanDetermines if this Factory is responsible fortype.@Nullable SnapshotNodetoSnapshotNode(Object value) Creates anSnapshotNodeforvalue.
-
Methodendetails
-
supports
Determines if this Factory is responsible fortype.- Parameter:
type- The type.- Gibt zurück:
trueif the type is supported.
-
toSnapshotNode
- Parameter:
value- The value for which to create an SnapshotNode.- Gibt zurück:
- The created node
-