com.imsweb.validation.translation.language.entity.EmptyLineStatement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-translation Show documentation
Show all versions of validation-translation Show documentation
This project allows a Genedits Metafile to be translated into Groovy edits that can be executed in the SEER Validation framework.
The newest version!
/*
* Copyright (C) 2010 Information Management Services, Inc.
*/
package com.imsweb.validation.translation.language.entity;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.imsweb.validation.translation.EditTranslationContext;
public class EmptyLineStatement extends Statement {
private static final Logger _LOG = LogManager.getLogger(EmptyLineStatement.class);
public EmptyLineStatement() {
_LOG.debug("new EmptyLineStatement()");
}
@Override
public void generateGroovy(StringBuilder buf, EditTranslationContext tContext, String indentation) {
buf.append("\n");
}
@Override
public boolean isOneLineStatementOnly() {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy