Package org.apache.torque.generator.control.outputtype

Examples of org.apache.torque.generator.control.outputtype.OutputType


        String outputTypeString = output.getType();
        Map<String, OutputType> outputTypes
                = controllerState.getUnitConfiguration()
                    .getConfigurationHandlers()
                    .getOutputTypes();
        OutputType outputType = outputTypes.get(outputTypeString);
        if (outputType == null)
        {
            throw new GeneratorException("Unknown output type "
                    + outputTypeString
                    + " in output "
                    + output.getName());
        }
        String commentStart = outputType.getCommentStart(lineBreak);
        String commentAtStart = getCommentAtStart(controllerState);
        String commentAtEnd = getCommentAtEnd(controllerState);
        String commentEnd = outputType.getCommentEnd(lineBreak);
        return new OutletResult(commentStart + commentAtStart + commentEnd
                + outletResult.getStringResult()
                + commentStart + commentAtEnd + commentEnd);
    }
View Full Code Here

TOP

Related Classes of org.apache.torque.generator.control.outputtype.OutputType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.