documentationfor yFiles for HTML 2.6

Properties

serializerin MapperOutputHandlerGets or sets the serialization callback to use for serializing the value in writeValueCore.

Method Parameters

addGraphOutputData (Class, string, TValue, function(Object, HandleSerializationEventArgs):void?, KeyType?, string?)in GraphMLIOHandlerRegister graphData as an output data source for data that is written at the graph level.
addGraphOutputData (Class, string, function(IGraph):TValue, function(Object, HandleSerializationEventArgs):void?, KeyType?, string?)in GraphMLIOHandlerRegister graphData as an output data source for data that is written at the graph level.
addOutputMapper (Class, Class, string, string, IMapper<TModelItem,TValue>, function(Object, HandleSerializationEventArgs):void, KeyType)in GraphMLIOHandlerRegister a IMapper<K,V> instance for use as an output data source.
addRegistryOutputMapper (string, string, Object, function(Object, HandleSerializationEventArgs):void)in GraphMLIOHandlerUse a registered IMapper<K,V> instance as source for the given GraphML attribute.
addRegistryOutputMapper (Class, Class, string, string, Object, function(Object, HandleSerializationEventArgs):void, KeyType)in GraphMLIOHandlerUse a registered IMapper<K,V> instance as source for the given GraphML attribute.
createMapperOutputHandler (Class, Class, string, IMapper<TKey,TData>, function(Object, HandleSerializationEventArgs):void)in GraphMLIOHandlerCreates an IOutputHandler implementation that matches the provided TKey and TData.
handleArraySerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of arrays.
handleEnumSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization for enums.
handleJSONSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of plain JavaScript object that can be serialized to JSON.
handleListSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of IEnumerable<T> instances.
handleMarkupExtensionBasedSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of MarkupExtension convertible instances.
handleNullSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of null references.
handlePrimitivesSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of primitive types, enums and strings.
handleReferenceHandleSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of IReferenceHandle instances.
handleTextConvertibleSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of instances that can be serialized through a ValueSerializer.
handleTypeExtensionSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of TypeExtensions.
handleTypeSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of Types.
handleUndefinedSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of undefined references.
handleXamlSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerHandle the serialization of complex objects that are not handled by other callbacks.
onGraphMLWriterHandleSerialization (Object, HandleSerializationEventArgs)in GraphMLIOHandlerEvent handler for the HandleSerialization event.
onHandleSerialization (HandleSerializationEventArgs)in GraphMLIOHandlerRaises the HandleSerialization event.
onHandleSerialization (HandleSerializationEventArgs)in GraphMLWriterFires the HandleSerialization event.