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
 String decodeType(String s, GraphMLParseContext ctx)
          Decodes the external (class name) string generated by encodeType(String, y.io.graphml.output.GraphMLWriteContext).
 String encodeType(String c, GraphMLWriteContext ctx)
          Returns the external form of a given (class name) string.
 

Method Detail

encodeType

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

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

decodeType

String decodeType(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-2013,
yWorks GmbH.
All rights reserved.