|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.graphml.output.AbstractSerializer
y.io.graphml.output.TypeBasedSerializer
public abstract class TypeBasedSerializer
Convenience base class for implementations of AbstractSerializer that uses type information
for the predicate.
![]() |
![]() |
| Constructor Summary | |
|---|---|
TypeBasedSerializer()
|
|
| Method Summary | |
|---|---|
boolean |
canHandle(SerializationEvent e)
Checks whether the current item has the correct type. |
protected abstract java.lang.Class |
getSerializationType(GraphMLWriteContext context)
Gets the type for which this instance should handle serialization. |
| Methods inherited from class y.io.graphml.output.AbstractSerializer |
|---|
onHandleSerialization, serializeItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeBasedSerializer()
| Method Detail |
|---|
public boolean canHandle(SerializationEvent e)
true iff item != null && item.getClass() == getSerializationType(context).
getSerializationType(GraphMLWriteContext)
canHandle in class AbstractSerializere - The current event argument
true iff item != null && item.getClass() == getSerializationType(context).protected abstract java.lang.Class getSerializationType(GraphMLWriteContext context)
context - The current write context.
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||