All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.structurizr.dsl.ModelViewContentParser Maven / Gradle / Ivy

The newest version!
package com.structurizr.dsl;

import com.structurizr.model.Relationship;
import com.structurizr.view.ModelView;

abstract class ModelViewContentParser extends AbstractParser {

    protected static final String WILDCARD = "*";
    protected static final String ELEMENT_WILDCARD = "element==*";

    protected boolean isExpression(String token) {
        return ExpressionParser.isExpression(token.toLowerCase());
    }

    protected void removeRelationshipFromView(Relationship relationship, ModelView view) {
        view.remove(relationship);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy