org.tm4j.panckoucke.abstraction.Abstractor .generateModel(org.tm4j.topicmap.TopicMapObject tmo,org.tm4j.panckoucke.abstraction.AbstractionContext ac)

Description

Builds an abtract model of the properties of the TopicMapObject tmo.

See #supportsAbstraction(TopicMapObject tmo, AbstractionContext) for a detailed description, what kind of abstractionContext and TopicMapObject a concrete implementation supports.

Parameters
org.tm4j.panckoucke.abstraction.AbstractionContext ac the AbstractionContext which provides the abstraction process with more detailed information. It its up to the implementation, how to react if it is null, but it seems reasonable that a IllegalArgumentException is thrown in that case. Implementations that silently fail should at least document that behavior.
org.tm4j.topicmap.TopicMapObject tmo the TopicMapObject for which an abstract model will be computed, tmo may be null.

Returns

a Node which represents the TopicMapObject tmo.

Other Resources