Search this API

y.io.graphml
Interface NameMapper


public interface NameMapper

Provides methods for translating between encoded and decoded names. This allows to obfuscate names and still store a consistent representation in the GraphML file

 

Method Summary
 java.lang.String decodeType(java.lang.String s, GraphMLParseContext ctx)
          Decodes the external (class name) string generated by encodeType(String, y.io.graphml.output.GraphMLWriteContext).
 java.lang.String encodeType(java.lang.String c, GraphMLWriteContext ctx)
          Returns the external form of a given (class name) string.
 

Method Detail

encodeType

java.lang.String encodeType(java.lang.String c,
                            GraphMLWriteContext ctx)
Returns the external form of a given (class name) string.

See Also:
decodeType(String, y.io.graphml.input.GraphMLParseContext)

decodeType

java.lang.String decodeType(java.lang.String s,
                            GraphMLParseContext ctx)
Decodes the external (class name) string generated by encodeType(String, y.io.graphml.output.GraphMLWriteContext).

See Also:
encodeType(String, y.io.graphml.output.GraphMLWriteContext)

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.