Package | Description |
---|---|
com.yworks.yfiles.graphml |
Definitions, default implementations, and support classes for GraphML I/O support.
|
Modifier and Type | Method and Description |
---|---|
IEventHandler<HandleSerializationEventArgs> |
MapperOutputHandler.getSerializer()
Gets the serialization callback to use for serializing the value in
MapperOutputHandler.writeValueCore(IWriteContext, java.lang.Object) . |
Modifier and Type | Method and Description |
---|---|
protected void |
GraphMLIOHandler.handleArraySerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of arrays.
|
protected void |
GraphMLIOHandler.handleListSerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of
Iterable instances. |
protected void |
GraphMLIOHandler.handleMarkupExtensionBasedSerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of
MarkupExtension convertible instances. |
protected void |
GraphMLIOHandler.handleNullSerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of
null references. |
protected void |
GraphMLIOHandler.handleReferenceHandleSerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of
IReferenceHandle instances. |
protected void |
GraphMLIOHandler.handleTextConvertibleSerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of instances that can be serialized through a
ValueSerializer . |
protected void |
GraphMLIOHandler.handleTypeExtensionSerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of TypeExtensions.
|
protected void |
GraphMLIOHandler.handleTypeSerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of Types.
|
protected void |
GraphMLIOHandler.handleXamlSerialization(Object sender,
HandleSerializationEventArgs e)
Handle the serialization of complex objects that are not handled by other callbacks.
|
protected void |
GraphMLIOHandler.onGraphMLWriterHandleSerialization(Object sender,
HandleSerializationEventArgs e)
Event handler for the
HandleSerialization event. |
protected void |
GraphMLWriter.onHandleSerialization(HandleSerializationEventArgs args)
Fires the
HandleSerialization event. |
protected void |
GraphMLIOHandler.onHandleSerialization(HandleSerializationEventArgs args)
Raises the
HandleSerialization event. |
Modifier and Type | Method and Description |
---|---|
void |
GraphMLWriter.addHandleSerializationListener(IEventHandler<HandleSerializationEventArgs> handleSerializationEvent)
Adds the given listener for the
HandleSerialization event that occurs when XML content is about to be
serialized. |
void |
GraphMLIOHandler.addHandleSerializationListener(IEventHandler<HandleSerializationEventArgs> handleSerializationEvent)
Adds the given listener for the
HandleSerialization event that occurs when XML content is about to be
serialized. |
<TModelItem,TValue> |
GraphMLIOHandler.addOutputMapper(Class<TModelItem> modelItemType,
Class<TValue> valueType,
String name,
String uri,
IMapper<TModelItem,TValue> mapper,
IEventHandler<HandleSerializationEventArgs> serializationCallback,
KeyType declaredKeyType)
Register a
IMapper instance for use as an output data source. |
<TModelItem,TValue> |
GraphMLIOHandler.addRegistryOutputMapper(Class<TModelItem> modelItemType,
Class<TValue> valueType,
String name,
String uri,
Object tag,
IEventHandler<HandleSerializationEventArgs> serializationCallback,
KeyType declaredKeyType)
Use a registered
IMapper instance as source for the given GraphML attribute. |
void |
GraphMLIOHandler.addRegistryOutputMapper(String name,
String uri,
Object tag,
IEventHandler<HandleSerializationEventArgs> serializationCallback)
Use a registered
IMapper instance as source for the given GraphML attribute. |
static <TKey,TData> |
GraphMLIOHandler.createMapperOutputHandler(Class<TKey> modelItemType,
Class<TData> dataType,
String name,
IMapper<TKey,TData> mapper,
IEventHandler<HandleSerializationEventArgs> serializationCallback)
Convenience factory method that can create an instance of several predefined
IOutputHandler implementations that
match the provided TKey and TData . |
void |
GraphMLWriter.removeHandleSerializationListener(IEventHandler<HandleSerializationEventArgs> handleSerializationEvent)
Removes the given listener for the
HandleSerialization event that occurs when XML content is about to be
serialized. |
void |
GraphMLIOHandler.removeHandleSerializationListener(IEventHandler<HandleSerializationEventArgs> handleSerializationEvent)
Removes the given listener for the
HandleSerialization event that occurs when XML content is about to be
serialized. |
void |
MapperOutputHandler.setSerializer(IEventHandler<HandleSerializationEventArgs> value)
Sets the serialization callback to use for serializing the value in
MapperOutputHandler.writeValueCore(IWriteContext, java.lang.Object) . |