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

com.cerner.ccl.parser.text.IncludeFileFactory Maven / Gradle / Ivy

The newest version!
package com.cerner.ccl.parser.text;

import java.util.List;

import com.cerner.ccl.parser.data.IncludeDocumentation;
import com.cerner.ccl.parser.data.IncludeFile;
import com.cerner.ccl.parser.data.record.RecordStructure;
import com.cerner.ccl.parser.data.subroutine.Subroutine;

/**
 * A {2link {@link DocumentedObjectFactory} used to create {@link IncludeFile} objects.
 * 
 * @author Joshua Hyde
 * 
 */

public class IncludeFileFactory implements DocumentedObjectFactory {
    /**
     * {@inheritDoc}
     */
    @Override
    public IncludeFile build(final String objectName, final IncludeDocumentation topLevelDocumentation,
            final List subroutines, final List recordStructures) {
        return new IncludeFile(objectName,
                topLevelDocumentation == null ? new IncludeDocumentation() : topLevelDocumentation, subroutines,
                recordStructures);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy