com.nedap.archie.serializer.adl.rules.RuleElementSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aom Show documentation
Show all versions of aom Show documentation
An OpenEHR archetype object model implementation, plus parser
package com.nedap.archie.serializer.adl.rules;
import com.nedap.archie.rules.RuleElement;
import com.nedap.archie.serializer.adl.ADLRulesSerializer;
import com.nedap.archie.serializer.adl.ADLStringBuilder;
/**
* Created by pieter.bos on 15/06/16.
*/
public abstract class RuleElementSerializer {
protected final ADLRulesSerializer serializer;
protected final ADLStringBuilder builder;
public RuleElementSerializer(ADLRulesSerializer serializer) {
this.serializer = serializer;
this.builder = serializer.getBuilder();
}
abstract public void serialize(T ruleElement);
public String getSimpleCommentText(T ruleElement) {
return null;
}
public boolean isEmpty(T ruleElement) {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy