Package ch.so.agi.mcp.model
Class IliSpecRenderer
java.lang.Object
ch.so.agi.mcp.model.IliSpecRenderer
Strict internal renderer. Public MCP tools expose specs, never these fragments.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforProfile(@Nullable ModelingRuleProfile profile) renderAssociation(IliModelSpec.AssociationSpec spec, String iliVersion, String currentModel, Set<String> imports) renderAttribute(AttributeLineRequest attribute, String iliVersion) renderAttribute(AttributeLineRequest attribute, String iliVersion, String currentModel) renderClass(IliModelSpec.ClassSpec spec, String iliVersion, String currentModel, Set<String> imports) renderConstraint(IliConstraintSpec spec, String iliVersion, String currentModel, Set<String> imports) renderExpression(IliConstraintSpec.ExpressionSpec expression, String iliVersion, String currentModel, Set<String> imports) Canonical surface rendering used by kind-specific AST round-trip adapters.renderExternalConstraintBlock(String contextFqn, IliConstraintSpec spec, String iliVersion, String currentModel, Set<String> imports) renderModel(IliModelSpec spec) renderStructure(IliModelSpec.StructureSpec spec, String iliVersion, String currentModel, Set<String> imports) renderTopic(IliModelSpec.TopicSpec spec, String iliVersion, String currentModel, Set<String> derivedImports)
-
Constructor Details
-
IliSpecRenderer
-
-
Method Details
-
forProfile
-
renderModel
-
renderTopic
public IliSpecRenderer.RenderedFragment renderTopic(IliModelSpec.TopicSpec spec, String iliVersion, String currentModel, Set<String> derivedImports) -
renderClass
public IliSpecRenderer.RenderedFragment renderClass(IliModelSpec.ClassSpec spec, String iliVersion, String currentModel, Set<String> imports) -
renderStructure
public IliSpecRenderer.RenderedFragment renderStructure(IliModelSpec.StructureSpec spec, String iliVersion, String currentModel, Set<String> imports) -
renderAssociation
public IliSpecRenderer.RenderedFragment renderAssociation(IliModelSpec.AssociationSpec spec, String iliVersion, String currentModel, Set<String> imports) -
renderUnit
-
renderDomain
-
renderAttribute
public IliSpecRenderer.RenderedAttribute renderAttribute(AttributeLineRequest attribute, String iliVersion) -
renderAttribute
public IliSpecRenderer.RenderedAttribute renderAttribute(AttributeLineRequest attribute, String iliVersion, String currentModel) -
renderConstraint
public IliSpecRenderer.RenderedFragment renderConstraint(IliConstraintSpec spec, String iliVersion, String currentModel, Set<String> imports) -
renderExternalConstraintBlock
-
renderExpression
public String renderExpression(IliConstraintSpec.ExpressionSpec expression, String iliVersion, String currentModel, Set<String> imports) Canonical surface rendering used by kind-specific AST round-trip adapters.
-