org.tm4j.panckoucke.impl.abstraction.AssociationCompressDispatcher .dispatch(org.tm4j.panckoucke.model.AModel model,org.tm4j.topicmap.Topic topic,org.tm4j.panckoucke.abstraction.AbstractionContext ac,java.lang.String defaultCompression)
Description
Building model structures for all the associations the given topic plays a role in. Excluded are implicit associations that represent class-instance relationships. The implementation decides which concrete compression scheme to use in three steps.
- it searches in the given AbstractionContext for a property
that is stored under the key that is defined by the public static final field
ASSOCIATION_COMPRESSION
of this class - if the AbstractionContext does not define such a
property, the implementation checks, if the given
defaultCompression
is not null and contains a valid compression scheme. If so, the indicated scheme is used. - if until now no compression scheme could be
determined, the compression is performed with
the
CS_L4_UNCOMPRESSED
scheme.
Parameters | ||
---|---|---|
org.tm4j.panckoucke.abstraction.AbstractionContext | ac | - used to lookup the name of the desired compression scheme. |
java.lang.String | defaultCompression | the compression scheme that should be used, if no scheme was found in the given AbstractionContext. May be null. |
org.tm4j.panckoucke.model.AModel | model | - the model to add arcs and nodes to |
org.tm4j.topicmap.Topic | topic | - all associations in which this topic plays a role in, contribute to the resulting model |
Meta Data (1)