public class GraphMLParseValueSerializerContext extends Object implements IValueSerializerContext, com.yworks.yfiles.graphml.IValueSerializerOwnerContext
IValueSerializerContext that should be used in a GraphML parse context.| Constructor and Description |
|---|
GraphMLParseValueSerializerContext(IParseContext context)
Creates a new instance that wraps .
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getOwner()
The parent object if such an object exists currently.
|
ValueSerializer |
getValueSerializerFor(PropertyInfo descriptor)
Gets the value serializer for a specific
PropertyInfo. |
ValueSerializer |
getValueSerializerFor(Type type)
Gets the value serializer for a specific type.
|
Object |
lookup(Class serviceType)
Returns the wrapped
IParseContext for this serviceType, otherwise . |
void |
setOwner(Object value)
The parent object if such an object exists currently.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDictionaryLookup, createDynamic, createSingle, createSingle, createWrapped, lookup, lookup, safeLookuppublic GraphMLParseValueSerializerContext(IParseContext context)
contextcontext - The current write contextpublic final Object getOwner()
getOwner in interface com.yworks.yfiles.graphml.IValueSerializerOwnerContextsetOwner(Object)public final ValueSerializer getValueSerializerFor(PropertyInfo descriptor)
IValueSerializerContextPropertyInfo.getValueSerializerFor in interface IValueSerializerContextdescriptor - The descriptor of the property.null.public ValueSerializer getValueSerializerFor(Type type)
IValueSerializerContextgetValueSerializerFor in interface IValueSerializerContexttype - The type to obtain a serializer for.null.public Object lookup(Class serviceType)
IParseContext for this serviceType, otherwise .nulllookup in interface ILookupserviceType - The serviceTypeIParseContext for this serviceType, otherwise nullpublic final void setOwner(Object value)
value - The Owner to set.getOwner()