private void writeMetaData(Definition def, Writer out, int indent) throws IOException
   {
      writeWithIndent(out, indent, "/**\n");
      writeWithIndent(out, indent,
            " * Gets the information on the underlying EIS instance represented through an active connection.\n");
      writeWithIndent(out, indent, " *\n");
      writeWithIndent(out, indent,
            " * @return ConnectionMetaData instance representing information about the EIS instance\n");
      writeWithIndent(out, indent,
            " * @throws ResourceException Failed to get information about the connected EIS instance. \n");
      writeWithIndent(out, indent, " */\n");

      writeWithIndent(out, indent, "@Override\n");
      writeWithIndent(out, indent, "public ConnectionMetaData getMetaData() throws ResourceException");
      writeLeftCurlyBracket(out, indent);

      writeWithIndent(out, indent + 1, "return new " + def.getMcfDefs().get(getNumOfMcf()).getConnMetaClass() + "();");
      writeRightCurlyBracket(out, indent);
      writeEol(out);
   }
private void writeMetaData ( Definition def , Writer out , int indent ) throws IOException { writeWithIndent ( out , indent , "/**\n" ) ; writeWithIndent ( out , indent , " * Gets the information on the underlying EIS instance represented through an active connection.\n" ) ; writeWithIndent ( out , indent , " *\n" ) ; writeWithIndent ( out , indent , " * @return ConnectionMetaData instance representing information about the EIS instance\n" ) ; writeWithIndent ( out , indent , " * @throws ResourceException Failed to get information about the connected EIS instance. \n" ) ; writeWithIndent ( out , indent , " */\n" ) ; writeWithIndent ( out , indent , "@Override\n" ) ; writeWithIndent ( out , indent , "public ConnectionMetaData getMetaData() throws ResourceException" ) ; writeLeftCurlyBracket ( out , indent ) ; writeWithIndent ( out , indent + 1 , "return new " + def . getMcfDefs ( ) . get ( getNumOfMcf ( ) ) . getConnMetaClass ( ) + "();" ) ; writeRightCurlyBracket ( out , indent ) ; writeEol ( out ) ; }
Output MetaData method

@param def    definition
@param out    Writer
@param indent space number
@throws IOException ioException