Package | Description |
---|---|
com.yworks.yfiles.graphml |
Definitions, default implementations, and support classes for GraphML I/O support.
|
Modifier and Type | Field and Description |
---|---|
static TypedKey<KeyScope> |
SerializationProperties.CURRENT_KEY_SCOPE
The current
KeyScope in which an IOutputHandler ,
IInputHandler , or custom serialization code is called. |
Modifier and Type | Method and Description |
---|---|
static KeyScope |
KeyScope.fromOrdinal(int ordinal) |
KeyScope |
QueryOutputHandlersEventArgs.getScope()
The scope where the handlers should be added.
|
static KeyScope |
KeyScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyScope[] |
KeyScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Iterable<IOutputHandler> |
GraphMLWriter.getOutputHandlers(IWriteContext context,
KeyScope scope)
Dynamically retrieve all
IOutputHandler that should be used for the current write process. |
static boolean |
GraphMLIOHandler.matchesScope(Element definition,
KeyScope scope)
Checks whether the
scope attribute in definition matches scope . |
void |
AbstractOutputHandler.setKeyDefinitionScope(KeyScope scope)
Sets the scope for the key definition.
|
Constructor and Description |
---|
AbstractOutputHandler(Class<TKey> keyType,
KeyScope scope,
String name,
KeyType type)
Initializes a new instance of the
AbstractOutputHandler class using the provided scope, name, and type for the
key definition. |
MapperOutputHandler(Class<TKey> keyType,
Class<TData> dataType,
KeyScope scope,
String name,
KeyType type)
Initializes a new instance of the
MapperOutputHandler class using the provided key scope, the name, and the key
type. |
QueryOutputHandlersEventArgs(IWriteContext context,
KeyScope scope)
Initializes a new instance of the
QueryOutputHandlersEventArgs class. |